#[non_exhaustive]pub enum NonRepresentableReason {
UnsupportedComponentCount,
MixedPrecision,
MixedSignedness,
ComponentSubsampling,
PrecisionAboveSixteen,
MixedWaveletTransform,
UnsupportedColor,
}Expand description
Reason an otherwise valid image cannot be represented by the fast batch API.
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.
UnsupportedComponentCount
Output requires a component count other than Gray, RGB, or RGBA.
MixedPrecision
Components use different significant precisions.
MixedSignedness
Components mix signed and unsigned sample domains.
ComponentSubsampling
At least one component is subsampled.
PrecisionAboveSixteen
At least one component uses more than sixteen significant bits.
MixedWaveletTransform
Tile or component coding-style overrides select different wavelet transforms.
UnsupportedColor
Parsed color metadata is not representable as Gray, RGB, or RGBA.
Trait Implementations§
Source§impl Clone for NonRepresentableReason
impl Clone for NonRepresentableReason
Source§fn clone(&self) -> NonRepresentableReason
fn clone(&self) -> NonRepresentableReason
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 NonRepresentableReason
Source§impl Debug for NonRepresentableReason
impl Debug for NonRepresentableReason
Source§impl Display for NonRepresentableReason
impl Display for NonRepresentableReason
impl Eq for NonRepresentableReason
Source§impl Hash for NonRepresentableReason
impl Hash for NonRepresentableReason
Source§impl PartialEq for NonRepresentableReason
impl PartialEq for NonRepresentableReason
impl StructuralPartialEq for NonRepresentableReason
Auto Trait Implementations§
impl Freeze for NonRepresentableReason
impl RefUnwindSafe for NonRepresentableReason
impl Send for NonRepresentableReason
impl Sync for NonRepresentableReason
impl Unpin for NonRepresentableReason
impl UnsafeUnpin for NonRepresentableReason
impl UnwindSafe for NonRepresentableReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more