pub enum Units {
Show 23 variants yottaohm(yottaohm), zettaohm(zettaohm), exaohm(exaohm), petaohm(petaohm), teraohm(teraohm), gigaohm(gigaohm), megaohm(megaohm), kiloohm(kiloohm), hectoohm(hectoohm), decaohm(decaohm), ohm(ohm), deciohm(deciohm), centiohm(centiohm), milliohm(milliohm), microohm(microohm), nanoohm(nanoohm), picoohm(picoohm), femtoohm(femtoohm), attoohm(attoohm), zeptoohm(zeptoohm), yoctoohm(yoctoohm), abohm(abohm), statohm(statohm), // some variants omitted
}
Expand description

Unit enum.

Variants

yottaohm(yottaohm)

Tuple Fields

yottaohms

zettaohm(zettaohm)

Tuple Fields

zettaohms

exaohm(exaohm)

Tuple Fields

0: exaohm

exaohms

petaohm(petaohm)

Tuple Fields

petaohms

teraohm(teraohm)

Tuple Fields

teraohms

gigaohm(gigaohm)

Tuple Fields

gigaohms

megaohm(megaohm)

Tuple Fields

megaohms

kiloohm(kiloohm)

Tuple Fields

kiloohms

hectoohm(hectoohm)

Tuple Fields

hectoohms

decaohm(decaohm)

Tuple Fields

decaohms

ohm(ohm)

Tuple Fields

0: ohm

ohms

deciohm(deciohm)

Tuple Fields

deciohms

centiohm(centiohm)

Tuple Fields

centiohms

milliohm(milliohm)

Tuple Fields

milliohms

microohm(microohm)

Tuple Fields

microohms

nanoohm(nanoohm)

Tuple Fields

nanoohms

picoohm(picoohm)

Tuple Fields

picoohms

femtoohm(femtoohm)

Tuple Fields

femtoohms

attoohm(attoohm)

Tuple Fields

attoohms

zeptoohm(zeptoohm)

Tuple Fields

zeptoohms

yoctoohm(yoctoohm)

Tuple Fields

yoctoohms

abohm(abohm)

Tuple Fields

0: abohm

abohms

statohm(statohm)

Tuple Fields

statohms

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.