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