pub struct Mebibyte;Expand description
Multiple representing a Mebibyte.
Represents a size of value * 1024_f64.powi(2). When parsing this multiple from text it expects MiB.
Trait Implementations§
impl Copy for Mebibyte
impl Eq for Mebibyte
Source§impl Multiple for Mebibyte
impl Multiple for Mebibyte
Source§fn from_any(value: f64, multiple: Any) -> SpecificSize<Self>
fn from_any(value: f64, multiple: Any) -> SpecificSize<Self>
Create a new
SpecificSize from a value and multiple, the
provided value must always valid (see SpecificSize::new).Source§impl Ord for Mebibyte
impl Ord for Mebibyte
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Mebibyte
impl PartialOrd for Mebibyte
impl StructuralPartialEq for Mebibyte
Auto Trait Implementations§
impl Freeze for Mebibyte
impl RefUnwindSafe for Mebibyte
impl Send for Mebibyte
impl Sync for Mebibyte
impl Unpin for Mebibyte
impl UnsafeUnpin for Mebibyte
impl UnwindSafe for Mebibyte
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