#[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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)