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