[−][src]Enum uom::si::length::Units
Unit enum.
Variants
yottameter(yottameter)
yottameters
zettameter(zettameter)
zettameters
exameter(exameter)
exameters
petameter(petameter)
petameters
terameter(terameter)
terameters
gigameter(gigameter)
gigameters
megameter(megameter)
megameters
kilometer(kilometer)
kilometers
hectometer(hectometer)
hectometers
decameter(decameter)
decameters
meter(meter)
meters
decimeter(decimeter)
decimeters
centimeter(centimeter)
centimeters
millimeter(millimeter)
millimeters
micrometer(micrometer)
micrometers
nanometer(nanometer)
nanometers
picometer(picometer)
picometers
femtometer(femtometer)
femtometers
attometer(attometer)
attometers
zeptometer(zeptometer)
zeptometers
yoctometer(yoctometer)
yoctometers
angstrom(angstrom)
ångströms
astronomical_unit(astronomical_unit)
astronomical units
chain(chain)
chains
fathom(fathom)
fathoms
fermi(fermi)
fermis
foot(foot)
feet
foot_survey(foot_survey)
feet (U.S. survey)
inch(inch)
inches
light_year(light_year)
light years
microinch(microinch)
microinches
micron(micron)
microns
mil(mil)
mils
mile(mile)
miles
mile_survey(mile_survey)
miles (U.S. survey)
nautical_mile(nautical_mile)
nautical miles
parsec(parsec)
parsecs
pica_computer(pica_computer)
picas (computer)
pica_printers(pica_printers)
picas (printer's)
point_computer(point_computer)
points (computer)
point_printers(point_printers)
points (printer's)
rod(rod)
rods
yard(yard)
yards
Implementations
impl Units
[src]
pub fn abbreviation(&self) -> &'static str
[src]
Unit abbreviation.
pub fn singular(&self) -> &'static str
[src]
Unit singular description.
pub fn plural(&self) -> &'static str
[src]
Unit plural description.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Units
impl Send for Units
impl Sync for Units
impl Unpin for Units
impl UnwindSafe for Units
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,