Enum png::Unit [] [src]

pub enum Unit {
    Unspecified,
    Meter,
}

Physical unit of the pixel dimensions

Variants

Methods

impl Unit
[src]

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

Trait Implementations

impl Eq for Unit
[src]

impl PartialEq for Unit
[src]

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

This method tests for !=.

impl Copy for Unit
[src]

impl Clone for Unit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Unit
[src]

Formats the value using the given formatter.