Enum Unit
#[repr(u8)]
pub enum Unit
Physical unit of the pixel dimensions
Variants
-
Unspecified = 0 -
Meter = 1
Implementations
impl Unit
fn from_u8(n: u8) -> Option<Unit>u8 -> Self. Temporary solution until Rust provides a canonical one.
Trait Implementations
impl Clone for Unit
fn clone(&self) -> Self
impl Copy for Unit
impl Debug for Unit
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Unit
impl PartialEq for Unit
fn eq(&self, other: &Self) -> bool