Enum png::Unit [] [src]

#[repr(u8)]
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 Debug for Unit
[src]

Formats the value using the given formatter.

impl Clone for Unit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy 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 Eq for Unit
[src]