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