Enum BitDepth
#[repr(u8)]
pub enum BitDepth
Bit depth of the PNG file. Specifies the number of bits per sample.
Variants
-
One = 1 -
Two = 2 -
Four = 4 -
Eight = 8 -
Sixteen = 16
Implementations
impl BitDepth
fn from_u8(n: u8) -> Option<BitDepth>u8 -> Self. Temporary solution until Rust provides a canonical one.
Trait Implementations
impl Clone for BitDepth
fn clone(&self) -> Self
impl Copy for BitDepth
impl Debug for BitDepth
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for BitDepth
impl PartialEq for BitDepth
fn eq(&self, other: &Self) -> bool