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