Enum png::Unit
[−]
[src]
#[repr(u8)]pub enum Unit { Unspecified, Meter, }
Physical unit of the pixel dimensions
Variants
Unspecified
Meter
Methods
impl Unit
[src]
fn from_u8(n: u8) -> Option<Unit>
u8 -> Self. Temporary solution until Rust provides a canonical one.
Trait Implementations
impl Debug 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
impl Copy 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) -> bool
1.0.0
This method tests for !=
.