pub struct HumanCapacity(pub u64);Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for HumanCapacity
impl Clone for HumanCapacity
Source§fn clone(&self) -> HumanCapacity
fn clone(&self) -> HumanCapacity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HumanCapacity
impl Debug for HumanCapacity
Source§impl Default for HumanCapacity
impl Default for HumanCapacity
Source§fn default() -> HumanCapacity
fn default() -> HumanCapacity
Returns the “default value” for a type. Read more
Source§impl Deref for HumanCapacity
impl Deref for HumanCapacity
Source§impl Display for HumanCapacity
impl Display for HumanCapacity
Source§impl From<HumanCapacity> for u64
impl From<HumanCapacity> for u64
Source§fn from(value: HumanCapacity) -> u64
fn from(value: HumanCapacity) -> u64
Converts to this type from the input type.
Source§impl From<u64> for HumanCapacity
impl From<u64> for HumanCapacity
Source§fn from(value: u64) -> HumanCapacity
fn from(value: u64) -> HumanCapacity
Converts to this type from the input type.
Source§impl FromStr for HumanCapacity
impl FromStr for HumanCapacity
Source§impl Hash for HumanCapacity
impl Hash for HumanCapacity
Source§impl Ord for HumanCapacity
impl Ord for HumanCapacity
Source§fn cmp(&self, other: &HumanCapacity) -> Ordering
fn cmp(&self, other: &HumanCapacity) -> Ordering
1.21.0 · 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 PartialEq for HumanCapacity
impl PartialEq for HumanCapacity
Source§impl PartialOrd for HumanCapacity
impl PartialOrd for HumanCapacity
impl Copy for HumanCapacity
impl Eq for HumanCapacity
impl StructuralPartialEq for HumanCapacity
Auto Trait Implementations§
impl Freeze for HumanCapacity
impl RefUnwindSafe for HumanCapacity
impl Send for HumanCapacity
impl Sync for HumanCapacity
impl Unpin for HumanCapacity
impl UnwindSafe for HumanCapacity
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
Source§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.