#[non_exhaustive]pub enum Units {
Show 23 variants
yottavolt,
zettavolt,
exavolt,
petavolt,
teravolt,
gigavolt,
megavolt,
kilovolt,
hectovolt,
decavolt,
volt,
decivolt,
centivolt,
millivolt,
microvolt,
nanovolt,
picovolt,
femtovolt,
attovolt,
zeptovolt,
yoctovolt,
abvolt,
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
yottavolts
zettavolt
zettavolts
exavolt
exavolts
petavolt
petavolts
teravolt
teravolts
gigavolt
gigavolts
megavolt
megavolts
kilovolt
kilovolts
hectovolt
hectovolts
decavolt
decavolts
volt
volts
decivolt
decivolts
centivolt
centivolts
millivolt
millivolts
microvolt
microvolts
nanovolt
nanovolts
picovolt
picovolts
femtovolt
femtovolts
attovolt
attovolts
zeptovolt
zeptovolts
yoctovolt
yoctovolts
abvolt
abvolts
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 UnsafeUnpin 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