pub struct Pebibyte;Expand description
Multiple representing a Pebibyte.
Represents a size of value * 1024_f64.powi(5). When parsing this multiple from text it expects PiB.
Trait Implementations§
impl Copy for Pebibyte
impl Eq for Pebibyte
Source§impl Multiple for Pebibyte
impl Multiple for Pebibyte
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 Pebibyte
impl Ord for Pebibyte
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 Pebibyte
impl PartialOrd for Pebibyte
impl StructuralPartialEq for Pebibyte
Auto Trait Implementations§
impl Freeze for Pebibyte
impl RefUnwindSafe for Pebibyte
impl Send for Pebibyte
impl Sync for Pebibyte
impl Unpin for Pebibyte
impl UnsafeUnpin for Pebibyte
impl UnwindSafe for Pebibyte
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