pub enum Units {
Show 24 variants yottaampere(yottaampere), zettaampere(zettaampere), exaampere(exaampere), petaampere(petaampere), teraampere(teraampere), gigaampere(gigaampere), megaampere(megaampere), kiloampere(kiloampere), hectoampere(hectoampere), decaampere(decaampere), ampere(ampere), deciampere(deciampere), centiampere(centiampere), milliampere(milliampere), microampere(microampere), nanoampere(nanoampere), picoampere(picoampere), femtoampere(femtoampere), attoampere(attoampere), zeptoampere(zeptoampere), yoctoampere(yoctoampere), abampere(abampere), gilbert(gilbert), statampere(statampere), // some variants omitted
}
Expand description

Unit enum.

Variants

yottaampere(yottaampere)

Tuple Fields

yottaamperes

zettaampere(zettaampere)

Tuple Fields

zettaamperes

exaampere(exaampere)

Tuple Fields

exaamperes

petaampere(petaampere)

Tuple Fields

petaamperes

teraampere(teraampere)

Tuple Fields

teraamperes

gigaampere(gigaampere)

Tuple Fields

gigaamperes

megaampere(megaampere)

Tuple Fields

megaamperes

kiloampere(kiloampere)

Tuple Fields

kiloamperes

hectoampere(hectoampere)

Tuple Fields

hectoamperes

decaampere(decaampere)

Tuple Fields

decaamperes

ampere(ampere)

Tuple Fields

0: ampere

amperes

deciampere(deciampere)

Tuple Fields

deciamperes

centiampere(centiampere)

Tuple Fields

centiamperes

milliampere(milliampere)

Tuple Fields

millamperes

microampere(microampere)

Tuple Fields

microamperes

nanoampere(nanoampere)

Tuple Fields

nanoamperes

picoampere(picoampere)

Tuple Fields

picoamperes

femtoampere(femtoampere)

Tuple Fields

femtoamperes

attoampere(attoampere)

Tuple Fields

attoamperes

zeptoampere(zeptoampere)

Tuple Fields

zeptoamperes

yoctoampere(yoctoampere)

Tuple Fields

yoctoamperes

abampere(abampere)

Tuple Fields

abamperes

gilbert(gilbert)

Tuple Fields

gilberts

statampere(statampere)

Tuple Fields

statamperes

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.