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