Enum png::BitDepth [] [src]

#[repr(u8)]
pub enum BitDepth { One, Two, Four, Eight, Sixteen, }

Bit depth of the png file

Variants

Methods

impl BitDepth
[src]

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]

Formats the value using the given formatter.

impl Clone for BitDepth
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BitDepth
[src]

impl PartialEq for BitDepth
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for BitDepth
[src]