#[non_exhaustive]pub enum ImageFault {
Format,
Data,
Limit,
}Expand description
Why an output leaves an image of the display list out.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Format
The output draws no image of its format.
Data
The image’s data does not decode in its format.
Limit
The image is larger than the output’s limits: its RGBA pixels, or what its decoder allocates, need more bytes than the output’s limit, or a side is longer than the output holds.
Trait Implementations§
Source§impl Clone for ImageFault
impl Clone for ImageFault
Source§fn clone(&self) -> ImageFault
fn clone(&self) -> ImageFault
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageFault
Source§impl Debug for ImageFault
impl Debug for ImageFault
Source§impl Display for ImageFault
impl Display for ImageFault
impl Eq for ImageFault
Source§impl Hash for ImageFault
impl Hash for ImageFault
Source§impl PartialEq for ImageFault
impl PartialEq for ImageFault
impl StructuralPartialEq for ImageFault
Auto Trait Implementations§
impl Forget for ImageFault
impl Freeze for ImageFault
impl Move for ImageFault
impl RefUnwindSafe for ImageFault
impl Send for ImageFault
impl Sync for ImageFault
impl Unpin for ImageFault
impl UnsafeUnpin for ImageFault
impl UnwindSafe for ImageFault
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.