Enum png::BitDepth
[−]
[src]
#[repr(u8)]pub enum BitDepth { One, Two, Four, Eight, Sixteen, }
Bit depth of the png file
Variants
One
Two
Four
Eight
Sixteen
Methods
impl BitDepth
[src]
fn from_u8(n: u8) -> Option<BitDepth>
u8 -> Self. Temporary solution until Rust provides a canonical one.
Trait Implementations
impl<W: Write> Parameter<Encoder<W>> for BitDepth
[src]
impl Debug for BitDepth
[src]
impl Clone for BitDepth
[src]
fn clone(&self) -> BitDepth
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for BitDepth
[src]
impl PartialEq for BitDepth
[src]
fn eq(&self, __arg_0: &BitDepth) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.