pub enum Units {
B = 1,
KB = 1_000,
MB = 1_000_000,
GB = 1_000_000_000,
TB = 1_000_000_000_000,
PB = 1_000_000_000_000_000,
}Expand description
Units of digital information expressed in base-10
Variants§
B = 1
KB = 1_000
MB = 1_000_000
GB = 1_000_000_000
TB = 1_000_000_000_000
PB = 1_000_000_000_000_000
Trait Implementations§
impl Copy for Units
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