pub enum Standard {
SI,
Binary,
}Expand description
Represents the mathematical standard for calculating magnitudes.
Variants§
SI
Base 1000 (SI standard). Produces kB, MB, GB, etc.
Binary
Base 1024 (IEC/Binary standard). Produces KiB, MiB, GiB, etc.
Trait Implementations§
impl Copy for Standard
impl Eq for Standard
impl StructuralPartialEq for Standard
Auto Trait Implementations§
impl Freeze for Standard
impl RefUnwindSafe for Standard
impl Send for Standard
impl Sync for Standard
impl Unpin for Standard
impl UnsafeUnpin for Standard
impl UnwindSafe for Standard
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