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§
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
Source§impl PartialOrd for Mebibyte
impl PartialOrd for Mebibyte
impl Copy for Mebibyte
impl Eq 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 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