Enum length::ImperialUnit
source · pub enum ImperialUnit {
Inch,
Foot,
Yard,
Mile,
}
Variants§
Trait Implementations§
source§impl Clone for ImperialUnit
impl Clone for ImperialUnit
source§fn clone(&self) -> ImperialUnit
fn clone(&self) -> ImperialUnit
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImperialUnit
impl Debug for ImperialUnit
source§impl From<ImperialUnit> for Unit
impl From<ImperialUnit> for Unit
source§fn from(item: ImperialUnit) -> Self
fn from(item: ImperialUnit) -> Self
Converts to this type from the input type.