[−][src]Enum amethyst_rendy::rendy::wsi::winit::BadIcon
An error produced when using Icon::from_rgba
with invalid arguments.
Variants
ByteCountNotDivisibleBy4
Produced when the length of the rgba
argument isn't divisible by 4, thus rgba
can't be
safely interpreted as 32bpp RGBA pixels.
Fields of ByteCountNotDivisibleBy4
byte_count: usize
DimensionsVsPixelCount
Produced when the number of pixels (rgba.len() / 4
) isn't equal to width * height
.
At least one of your arguments is incorrect.
Fields of DimensionsVsPixelCount
Trait Implementations
impl Eq for BadIcon
[src]
impl Copy for BadIcon
[src]
impl Clone for BadIcon
[src][+]
impl PartialEq<BadIcon> for BadIcon
[src][+]
impl Display for BadIcon
[src][+]
impl Error for BadIcon
[src][+]
impl Debug for BadIcon
[src][+]
Auto Trait Implementations
impl Unpin for BadIcon
impl Sync for BadIcon
impl Send for BadIcon
impl UnwindSafe for BadIcon
impl RefUnwindSafe for BadIcon
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src][+]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
impl<T> SetParameter for T
[src][+]
impl<T> Supports<T> for T
[src]
impl<T> AsFail for T where
T: Fail,
[src][+]
T: Fail,
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src][+]
E: 'static + Error + Send + Sync,
impl<T> Erased for T
[src]
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src][+]
T: Copy + PartialEq<T> + Any + Debug,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src][+]
SS: SubsetOf<SP>,
impl<T> Resource for T where
T: Any + Send + Sync,
[src]
T: Any + Send + Sync,
impl<T> Any for T where
T: Any,
[src][+]
T: Any,
impl<T> Event for T where
T: Send + Sync + 'static,
[src]
T: Send + Sync + 'static,
impl<T> Clone for T where
T: Clone,
[src][+]
T: Clone,