Enum png::Unit
[−]
[src]
pub enum Unit {
Unspecified,
Meter,
}Physical unit of the pixel dimensions
Variants
UnspecifiedMeterMethods
impl Unit[src]
fn from_u8(n: u8) -> Option<Unit>
u8 -> Self. Temporary solution until Rust provides a canonical one.
Trait Implementations
impl Eq for Unit[src]
impl PartialEq for Unit[src]
fn eq(&self, __arg_0: &Unit) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for Unit[src]
impl Clone for Unit[src]
fn clone(&self) -> Unit
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