pub enum Units {
Show 28 variants yottanewton(yottanewton), zettanewton(zettanewton), exanewton(exanewton), petanewton(petanewton), teranewton(teranewton), giganewton(giganewton), meganewton(meganewton), kilonewton(kilonewton), hectonewton(hectonewton), decanewton(decanewton), newton(newton), decinewton(decinewton), centinewton(centinewton), millinewton(millinewton), micronewton(micronewton), nanonewton(nanonewton), piconewton(piconewton), femtonewton(femtonewton), attonewton(attonewton), zeptonewton(zeptonewton), yoctonewton(yoctonewton), dyne(dyne), kilogram_force(kilogram_force), kip(kip), ounce_force(ounce_force), poundal(poundal), pound_force(pound_force), ton_force(ton_force), // some variants omitted
}
Expand description

Unit enum.

Variants

yottanewton(yottanewton)

Tuple Fields

yottanewtons

zettanewton(zettanewton)

Tuple Fields

zettanewtons

exanewton(exanewton)

Tuple Fields

exanewtons

petanewton(petanewton)

Tuple Fields

petanewtons

teranewton(teranewton)

Tuple Fields

teranewtons

giganewton(giganewton)

Tuple Fields

giganewtons

meganewton(meganewton)

Tuple Fields

meganewtons

kilonewton(kilonewton)

Tuple Fields

kilonewtons

hectonewton(hectonewton)

Tuple Fields

hectonewtons

decanewton(decanewton)

Tuple Fields

decanewtons

newton(newton)

Tuple Fields

0: newton

newtons

decinewton(decinewton)

Tuple Fields

decinewtons

centinewton(centinewton)

Tuple Fields

centinewtons

millinewton(millinewton)

Tuple Fields

millinewtons

micronewton(micronewton)

Tuple Fields

micronewtons

nanonewton(nanonewton)

Tuple Fields

nanonewtons

piconewton(piconewton)

Tuple Fields

piconewtons

femtonewton(femtonewton)

Tuple Fields

femtonewtons

attonewton(attonewton)

Tuple Fields

attonewtons

zeptonewton(zeptonewton)

Tuple Fields

zeptonewtons

yoctonewton(yoctonewton)

Tuple Fields

yoctonewtons

dyne(dyne)

Tuple Fields

0: dyne

dynes

kilogram_force(kilogram_force)

Tuple Fields

kilograms-force

kip(kip)

Tuple Fields

0: kip

kips

ounce_force(ounce_force)

Tuple Fields

ounces-force

poundal(poundal)

Tuple Fields

poundals

pound_force(pound_force)

Tuple Fields

pounds-force

ton_force(ton_force)

Tuple Fields

tons-force

Implementations

Unit abbreviation.

Unit singular description.

Unit plural description.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.