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]

[src]

u8 -> Self. Temporary solution until Rust provides a canonical one.

Trait Implementations

impl<W: Write> Parameter<Encoder<W>> for BitDepth
[src]

[src]

impl Debug for BitDepth
[src]

[src]

Formats the value using the given formatter.

impl Clone for BitDepth
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for BitDepth
[src]

impl PartialEq for BitDepth
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for BitDepth
[src]