#[repr(u16)]pub enum Prefix {
Show 29 variants
Null = 0,
Avesterra = 1,
Yotta = 2,
Zetta = 3,
Exa = 4,
Peta = 5,
Tera = 6,
Giga = 7,
Mega = 8,
Myria = 9,
Kilo = 10,
Hecto = 11,
Deca = 12,
Deci = 13,
Centi = 14,
Milli = 15,
Micro = 16,
Nano = 17,
Pico = 18,
Fempto = 19,
Atto = 20,
Zopto = 21,
Yocto = 22,
Exbi = 23,
Pebi = 24,
Tebi = 25,
Gibi = 26,
Mebi = 27,
Kibi = 28,
}
Variants§
Null = 0
Avesterra = 1
Yotta = 2
Zetta = 3
Exa = 4
Peta = 5
Tera = 6
Giga = 7
Mega = 8
Myria = 9
Kilo = 10
Hecto = 11
Deca = 12
Deci = 13
Centi = 14
Milli = 15
Micro = 16
Nano = 17
Pico = 18
Fempto = 19
Atto = 20
Zopto = 21
Yocto = 22
Exbi = 23
Pebi = 24
Tebi = 25
Gibi = 26
Mebi = 27
Kibi = 28
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Prefix
impl<'de> Deserialize<'de> for Prefix
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl TryFromPrimitive for Prefix
impl TryFromPrimitive for Prefix
impl Copy for Prefix
impl Eq for Prefix
impl StructuralPartialEq for Prefix
Auto Trait Implementations§
impl Freeze for Prefix
impl RefUnwindSafe for Prefix
impl Send for Prefix
impl Sync for Prefix
impl Unpin for Prefix
impl UnwindSafe for Prefix
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