#[repr(u8)]pub enum BitDepth {
One,
Two,
Four,
Eight,
Sixteen,
}
Expand description
Bit depth of the PNG file. Specifies the number of bits per sample.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq<BitDepth> for BitDepth
impl PartialEq<BitDepth> for BitDepth
impl Copy for BitDepth
impl Eq for BitDepth
impl StructuralEq for BitDepth
impl StructuralPartialEq for BitDepth
Auto Trait Implementations§
impl RefUnwindSafe for BitDepth
impl Send for BitDepth
impl Sync for BitDepth
impl Unpin for BitDepth
impl UnwindSafe for BitDepth
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