#[non_exhaustive]pub enum ThumbnailPngBitDepth {
One,
Two,
Four,
Eight,
Sixteen,
}Expand description
PNG sample bit depth reported by ParsedThumbnailPng.
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.
One
1-bit samples.
Two
2-bit samples.
Four
4-bit samples.
Eight
8-bit samples.
Sixteen
16-bit samples.
Trait Implementations§
Source§impl Clone for ThumbnailPngBitDepth
impl Clone for ThumbnailPngBitDepth
Source§fn clone(&self) -> ThumbnailPngBitDepth
fn clone(&self) -> ThumbnailPngBitDepth
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 moreSource§impl Debug for ThumbnailPngBitDepth
impl Debug for ThumbnailPngBitDepth
Source§impl Hash for ThumbnailPngBitDepth
impl Hash for ThumbnailPngBitDepth
Source§impl PartialEq for ThumbnailPngBitDepth
impl PartialEq for ThumbnailPngBitDepth
Source§fn eq(&self, other: &ThumbnailPngBitDepth) -> bool
fn eq(&self, other: &ThumbnailPngBitDepth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ThumbnailPngBitDepth
impl Eq for ThumbnailPngBitDepth
impl StructuralPartialEq for ThumbnailPngBitDepth
Auto Trait Implementations§
impl Freeze for ThumbnailPngBitDepth
impl RefUnwindSafe for ThumbnailPngBitDepth
impl Send for ThumbnailPngBitDepth
impl Sync for ThumbnailPngBitDepth
impl Unpin for ThumbnailPngBitDepth
impl UnsafeUnpin for ThumbnailPngBitDepth
impl UnwindSafe for ThumbnailPngBitDepth
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