[][src]Enum uom::si::frequency::Units

pub enum Units {
    yottahertz(yottahertz),
    zettahertz(zettahertz),
    exahertz(exahertz),
    petahertz(petahertz),
    terahertz(terahertz),
    gigahertz(gigahertz),
    megahertz(megahertz),
    kilohertz(kilohertz),
    hectohertz(hectohertz),
    decahertz(decahertz),
    hertz(hertz),
    decihertz(decihertz),
    centihertz(centihertz),
    millihertz(millihertz),
    microhertz(microhertz),
    nanohertz(nanohertz),
    picohertz(picohertz),
    femtohertz(femtohertz),
    attohertz(attohertz),
    zeptohertz(zeptohertz),
    yoctohertz(yoctohertz),
    cycle_per_day(cycle_per_day),
    cycle_per_hour(cycle_per_hour),
    cycle_per_minute(cycle_per_minute),
    cycle_per_shake(cycle_per_shake),
    cycle_per_year(cycle_per_year),
    // some variants omitted
}

Unit enum.

Variants

yottahertz(yottahertz)

yottahertz

zettahertz(zettahertz)

zettahertz

exahertz(exahertz)

exahertz

petahertz(petahertz)

petahertz

terahertz(terahertz)

terahertz

gigahertz(gigahertz)

gigahertz

megahertz(megahertz)

megahertz

kilohertz(kilohertz)

kilohertz

hectohertz(hectohertz)

hectohertz

decahertz(decahertz)

decahertz

hertz(hertz)

hertz

decihertz(decihertz)

decihertz

centihertz(centihertz)

centihertz

millihertz(millihertz)

millihertz

microhertz(microhertz)

microhertz

nanohertz(nanohertz)

nanohertz

picohertz(picohertz)

picohertz

femtohertz(femtohertz)

femtohertz

attohertz(attohertz)

attohertz

zeptohertz(zeptohertz)

zeptohertz

yoctohertz(yoctohertz)

yoctohertz

cycle_per_day(cycle_per_day)

cycles per day

cycle_per_hour(cycle_per_hour)

cycles per hour

cycle_per_minute(cycle_per_minute)

cycles per minute

cycle_per_shake(cycle_per_shake)

cycles per shake

cycle_per_year(cycle_per_year)

cycles per year

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

impl Clone for Units[src]

impl Copy for Units[src]

impl Debug for Units[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.