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