Enum uom::si::electric_potential::Units
source · #[non_exhaustive]pub enum Units {
Show 23 variants
yottavolt(yottavolt),
zettavolt(zettavolt),
exavolt(exavolt),
petavolt(petavolt),
teravolt(teravolt),
gigavolt(gigavolt),
megavolt(megavolt),
kilovolt(kilovolt),
hectovolt(hectovolt),
decavolt(decavolt),
volt(volt),
decivolt(decivolt),
centivolt(centivolt),
millivolt(millivolt),
microvolt(microvolt),
nanovolt(nanovolt),
picovolt(picovolt),
femtovolt(femtovolt),
attovolt(attovolt),
zeptovolt(zeptovolt),
yoctovolt(yoctovolt),
abvolt(abvolt),
statvolt(statvolt),
}
Expand description
Unit enum.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
yottavolt(yottavolt)
yottavolts
zettavolt(zettavolt)
zettavolts
exavolt(exavolt)
exavolts
petavolt(petavolt)
petavolts
teravolt(teravolt)
teravolts
gigavolt(gigavolt)
gigavolts
megavolt(megavolt)
megavolts
kilovolt(kilovolt)
kilovolts
hectovolt(hectovolt)
hectovolts
decavolt(decavolt)
decavolts
volt(volt)
volts
decivolt(decivolt)
decivolts
centivolt(centivolt)
centivolts
millivolt(millivolt)
millivolts
microvolt(microvolt)
microvolts
nanovolt(nanovolt)
nanovolts
picovolt(picovolt)
picovolts
femtovolt(femtovolt)
femtovolts
attovolt(attovolt)
attovolts
zeptovolt(zeptovolt)
zeptovolts
yoctovolt(yoctovolt)
yoctovolts
abvolt(abvolt)
abvolts
statvolt(statvolt)
statvolts
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Units
impl RefUnwindSafe for Units
impl Send for Units
impl Sync for Units
impl Unpin for Units
impl UnwindSafe for Units
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more