Enum forecast::Units [−][src]
pub enum Units { Auto, CA, UK, Imperial, SI, }
Model object representing measurement units.
Variants
Auto
CA
UK
Imperial
SI
Trait Implementations
impl Clone for Units
[src]
impl Clone for Units
fn clone(&self) -> Units
[src]
fn clone(&self) -> Units
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Units
[src]
impl PartialEq for Units
fn eq(&self, other: &Units) -> bool
[src]
fn eq(&self, other: &Units) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Units
[src]
impl Eq for Units
impl Debug for Units
[src]
impl Debug for Units