Struct embedded_time::rate::KibibytesPerSecond [−][src]
pub struct KibibytesPerSecond<T: TimeInt = u32>(pub T);
Expand description
Bytes/s × 1,024
Implementations
impl<T: TimeInt> KibibytesPerSecond<T>
[src]
impl<T: TimeInt> KibibytesPerSecond<T>
[src]Trait Implementations
impl<T: TimeInt, Rhs: Rate> Add<Rhs> for KibibytesPerSecond<T> where
Rhs: FixedPoint,
Self: TryFrom<Rhs>,
[src]
impl<T: TimeInt, Rhs: Rate> Add<Rhs> for KibibytesPerSecond<T> where
Rhs: FixedPoint,
Self: TryFrom<Rhs>,
[src]impl<T: Clone + TimeInt> Clone for KibibytesPerSecond<T>
[src]
impl<T: Clone + TimeInt> Clone for KibibytesPerSecond<T>
[src]fn clone(&self) -> KibibytesPerSecond<T>
[src]
fn clone(&self) -> KibibytesPerSecond<T>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<T: Debug + TimeInt> Debug for KibibytesPerSecond<T>
[src]
impl<T: Debug + TimeInt> Debug for KibibytesPerSecond<T>
[src]impl<T: Default + TimeInt> Default for KibibytesPerSecond<T>
[src]
impl<T: Default + TimeInt> Default for KibibytesPerSecond<T>
[src]fn default() -> KibibytesPerSecond<T>
[src]
fn default() -> KibibytesPerSecond<T>
[src]Returns the “default value” for a type. Read more
impl<T: TimeInt> Display for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> Display for KibibytesPerSecond<T>
[src]fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]See Formatting
impl<T: TimeInt> Div<T> for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> Div<T> for KibibytesPerSecond<T>
[src]impl<T: TimeInt> FixedPoint for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> FixedPoint for KibibytesPerSecond<T>
[src]type T = T
type T = T
The integer (magnitude) type
const SCALING_FACTOR: Fraction
[src]
const SCALING_FACTOR: Fraction
[src]The fractional scaling factor
fn new(value: Self::T) -> Self
[src]
fn checked_mul(&self, rhs: &Self::T) -> Option<Self>
[src]
fn checked_mul(&self, rhs: &Self::T) -> Option<Self>
[src]Multiply with overflow checking
fn checked_div(&self, rhs: &Self::T) -> Option<Self>
[src]
fn checked_div(&self, rhs: &Self::T) -> Option<Self>
[src]Multiply with overflow checking
impl<T: TimeInt> From<BitsPerSecond<T>> for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> From<BitsPerSecond<T>> for KibibytesPerSecond<T>
[src]fn from(small: BitsPerSecond<T>) -> Self
[src]
fn from(small: BitsPerSecond<T>) -> Self
[src]impl From<BitsPerSecond<u32>> for KibibytesPerSecond<u64>
[src]
impl From<BitsPerSecond<u32>> for KibibytesPerSecond<u64>
[src]fn from(small: BitsPerSecond<u32>) -> Self
[src]
fn from(small: BitsPerSecond<u32>) -> Self
[src]impl<T: TimeInt> From<BytesPerSecond<T>> for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> From<BytesPerSecond<T>> for KibibytesPerSecond<T>
[src]fn from(small: BytesPerSecond<T>) -> Self
[src]
fn from(small: BytesPerSecond<T>) -> Self
[src]impl From<BytesPerSecond<u32>> for KibibytesPerSecond<u64>
[src]
impl From<BytesPerSecond<u32>> for KibibytesPerSecond<u64>
[src]fn from(small: BytesPerSecond<u32>) -> Self
[src]
fn from(small: BytesPerSecond<u32>) -> Self
[src]impl<T: TimeInt> From<KibibitsPerSecond<T>> for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> From<KibibitsPerSecond<T>> for KibibytesPerSecond<T>
[src]fn from(small: KibibitsPerSecond<T>) -> Self
[src]
fn from(small: KibibitsPerSecond<T>) -> Self
[src]impl From<KibibitsPerSecond<u32>> for KibibytesPerSecond<u64>
[src]
impl From<KibibitsPerSecond<u32>> for KibibytesPerSecond<u64>
[src]fn from(small: KibibitsPerSecond<u32>) -> Self
[src]
fn from(small: KibibitsPerSecond<u32>) -> Self
[src]impl<T: TimeInt> From<KibibytesPerSecond<T>> for Generic<T>
[src]
impl<T: TimeInt> From<KibibytesPerSecond<T>> for Generic<T>
[src]fn from(rate: KibibytesPerSecond<T>) -> Self
[src]
fn from(rate: KibibytesPerSecond<T>) -> Self
[src]impl<T: TimeInt> From<KibibytesPerSecond<T>> for MebibytesPerSecond<T>
[src]
impl<T: TimeInt> From<KibibytesPerSecond<T>> for MebibytesPerSecond<T>
[src]fn from(small: KibibytesPerSecond<T>) -> Self
[src]
fn from(small: KibibytesPerSecond<T>) -> Self
[src]impl<T: TimeInt> From<KibibytesPerSecond<T>> for MebibitsPerSecond<T>
[src]
impl<T: TimeInt> From<KibibytesPerSecond<T>> for MebibitsPerSecond<T>
[src]fn from(small: KibibytesPerSecond<T>) -> Self
[src]
fn from(small: KibibytesPerSecond<T>) -> Self
[src]impl From<KibibytesPerSecond<u32>> for MebibytesPerSecond<u64>
[src]
impl From<KibibytesPerSecond<u32>> for MebibytesPerSecond<u64>
[src]fn from(small: KibibytesPerSecond<u32>) -> Self
[src]
fn from(small: KibibytesPerSecond<u32>) -> Self
[src]impl From<KibibytesPerSecond<u32>> for MebibitsPerSecond<u64>
[src]
impl From<KibibytesPerSecond<u32>> for MebibitsPerSecond<u64>
[src]fn from(small: KibibytesPerSecond<u32>) -> Self
[src]
fn from(small: KibibytesPerSecond<u32>) -> Self
[src]impl From<KibibytesPerSecond<u32>> for KibibytesPerSecond<u64>
[src]
impl From<KibibytesPerSecond<u32>> for KibibytesPerSecond<u64>
[src]fn from(source: KibibytesPerSecond<u32>) -> Self
[src]
fn from(source: KibibytesPerSecond<u32>) -> Self
[src]impl From<KibibytesPerSecond<u32>> for KibibitsPerSecond<u64>
[src]
impl From<KibibytesPerSecond<u32>> for KibibitsPerSecond<u64>
[src]fn from(big: KibibytesPerSecond<u32>) -> Self
[src]
fn from(big: KibibytesPerSecond<u32>) -> Self
[src]impl From<KibibytesPerSecond<u32>> for BytesPerSecond<u64>
[src]
impl From<KibibytesPerSecond<u32>> for BytesPerSecond<u64>
[src]fn from(big: KibibytesPerSecond<u32>) -> Self
[src]
fn from(big: KibibytesPerSecond<u32>) -> Self
[src]impl From<KibibytesPerSecond<u32>> for BitsPerSecond<u64>
[src]
impl From<KibibytesPerSecond<u32>> for BitsPerSecond<u64>
[src]fn from(big: KibibytesPerSecond<u32>) -> Self
[src]
fn from(big: KibibytesPerSecond<u32>) -> Self
[src]impl From<MebibitsPerSecond<u32>> for KibibytesPerSecond<u64>
[src]
impl From<MebibitsPerSecond<u32>> for KibibytesPerSecond<u64>
[src]fn from(big: MebibitsPerSecond<u32>) -> Self
[src]
fn from(big: MebibitsPerSecond<u32>) -> Self
[src]impl From<MebibytesPerSecond<u32>> for KibibytesPerSecond<u64>
[src]
impl From<MebibytesPerSecond<u32>> for KibibytesPerSecond<u64>
[src]fn from(big: MebibytesPerSecond<u32>) -> Self
[src]
fn from(big: MebibytesPerSecond<u32>) -> Self
[src]impl<T: Hash + TimeInt> Hash for KibibytesPerSecond<T>
[src]
impl<T: Hash + TimeInt> Hash for KibibytesPerSecond<T>
[src]impl<T: TimeInt> Mul<T> for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> Mul<T> for KibibytesPerSecond<T>
[src]impl<T: Ord + TimeInt> Ord for KibibytesPerSecond<T>
[src]
impl<T: Ord + TimeInt> Ord for KibibytesPerSecond<T>
[src]impl<T: TimeInt, RhsInt: TimeInt> PartialEq<BitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
BitsPerSecond<RhsInt>: PartialEq<KibibytesPerSecond<T>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<BitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
BitsPerSecond<RhsInt>: PartialEq<KibibytesPerSecond<T>>,
[src]fn eq(&self, rhs: &BitsPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &BitsPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<BytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
BytesPerSecond<RhsInt>: PartialEq<KibibytesPerSecond<T>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<BytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
BytesPerSecond<RhsInt>: PartialEq<KibibytesPerSecond<T>>,
[src]fn eq(&self, rhs: &BytesPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &BytesPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
KibibitsPerSecond<RhsInt>: PartialEq<KibibytesPerSecond<T>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
KibibitsPerSecond<RhsInt>: PartialEq<KibibytesPerSecond<T>>,
[src]fn eq(&self, rhs: &KibibitsPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &KibibitsPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for MebibytesPerSecond<T> where
KibibytesPerSecond<RhsInt>: PartialEq<MebibytesPerSecond<T>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for MebibytesPerSecond<T> where
KibibytesPerSecond<RhsInt>: PartialEq<MebibytesPerSecond<T>>,
[src]fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for MebibitsPerSecond<T> where
KibibytesPerSecond<RhsInt>: PartialEq<MebibitsPerSecond<T>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for MebibitsPerSecond<T> where
KibibytesPerSecond<RhsInt>: PartialEq<MebibitsPerSecond<T>>,
[src]fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
T: TryFrom<RhsInt>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
T: TryFrom<RhsInt>,
[src]fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for KibibitsPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for KibibitsPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for BytesPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for BytesPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for BitsPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<KibibytesPerSecond<RhsInt>> for BitsPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &KibibytesPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<MebibitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
Self: TryFrom<MebibitsPerSecond<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<MebibitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
Self: TryFrom<MebibitsPerSecond<RhsInt>>,
[src]fn eq(&self, rhs: &MebibitsPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &MebibitsPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<MebibytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
Self: TryFrom<MebibytesPerSecond<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<MebibytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
Self: TryFrom<MebibytesPerSecond<RhsInt>>,
[src]fn eq(&self, rhs: &MebibytesPerSecond<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &MebibytesPerSecond<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<BitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
BitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<BitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
BitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]fn partial_cmp(&self, rhs: &BitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &BitsPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<BytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
BytesPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<BytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
BytesPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]fn partial_cmp(&self, rhs: &BytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &BytesPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
KibibitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
KibibitsPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]fn partial_cmp(&self, rhs: &KibibitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &KibibitsPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for MebibytesPerSecond<T> where
KibibytesPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for MebibytesPerSecond<T> where
KibibytesPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for MebibitsPerSecond<T> where
KibibytesPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for MebibitsPerSecond<T> where
KibibytesPerSecond<RhsInt>: TryFrom<Self> + Ord,
[src]fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
T: TryFrom<RhsInt>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
T: TryFrom<RhsInt>,
[src]fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for KibibitsPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for KibibitsPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for BytesPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for BytesPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for BitsPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<KibibytesPerSecond<RhsInt>> for BitsPerSecond<T> where
Self: TryFrom<KibibytesPerSecond<RhsInt>>,
[src]fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &KibibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<MebibitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
Self: TryFrom<MebibitsPerSecond<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<MebibitsPerSecond<RhsInt>> for KibibytesPerSecond<T> where
Self: TryFrom<MebibitsPerSecond<RhsInt>>,
[src]fn partial_cmp(&self, rhs: &MebibitsPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &MebibitsPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<MebibytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
Self: TryFrom<MebibytesPerSecond<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<MebibytesPerSecond<RhsInt>> for KibibytesPerSecond<T> where
Self: TryFrom<MebibytesPerSecond<RhsInt>>,
[src]fn partial_cmp(&self, rhs: &MebibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &MebibytesPerSecond<RhsInt>) -> Option<Ordering>
[src]See Comparisons
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: TimeInt> Rate for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> Rate for KibibytesPerSecond<T>
[src]fn to_generic<DestInt: TimeInt>(
self,
scaling_factor: Fraction
) -> Result<Generic<DestInt>, ConversionError> where
Self: FixedPoint,
DestInt: TryFrom<Self::T>,
[src]
fn to_generic<DestInt: TimeInt>(
self,
scaling_factor: Fraction
) -> Result<Generic<DestInt>, ConversionError> where
Self: FixedPoint,
DestInt: TryFrom<Self::T>,
[src]fn to_duration<Duration: Duration>(&self) -> Result<Duration, ConversionError> where
Duration: FixedPoint,
Self: FixedPoint,
Duration::T: TryFrom<Self::T>,
[src]
fn to_duration<Duration: Duration>(&self) -> Result<Duration, ConversionError> where
Duration: FixedPoint,
Self: FixedPoint,
Duration::T: TryFrom<Self::T>,
[src]impl<T: TimeInt, Rhs: Rate> Rem<Rhs> for KibibytesPerSecond<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]
impl<T: TimeInt, Rhs: Rate> Rem<Rhs> for KibibytesPerSecond<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]impl<T: TimeInt, Rhs: Rate> Sub<Rhs> for KibibytesPerSecond<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]
impl<T: TimeInt, Rhs: Rate> Sub<Rhs> for KibibytesPerSecond<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]impl TryFrom<BitsPerSecond<u64>> for KibibytesPerSecond<u32>
[src]
impl TryFrom<BitsPerSecond<u64>> for KibibytesPerSecond<u32>
[src]fn try_from(small: BitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(small: BitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<BytesPerSecond<u64>> for KibibytesPerSecond<u32>
[src]
impl TryFrom<BytesPerSecond<u64>> for KibibytesPerSecond<u32>
[src]fn try_from(small: BytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(small: BytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<SourceInt: TimeInt, DestInt: TimeInt> TryFrom<Generic<SourceInt>> for KibibytesPerSecond<DestInt> where
DestInt: TryFrom<SourceInt>,
[src]
impl<SourceInt: TimeInt, DestInt: TimeInt> TryFrom<Generic<SourceInt>> for KibibytesPerSecond<DestInt> where
DestInt: TryFrom<SourceInt>,
[src]impl TryFrom<KibibitsPerSecond<u64>> for KibibytesPerSecond<u32>
[src]
impl TryFrom<KibibitsPerSecond<u64>> for KibibytesPerSecond<u32>
[src]fn try_from(small: KibibitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(small: KibibitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<T: TimeInt> TryFrom<KibibytesPerSecond<T>> for KibibitsPerSecond<T>
[src]
impl<T: TimeInt> TryFrom<KibibytesPerSecond<T>> for KibibitsPerSecond<T>
[src]fn try_from(big: KibibytesPerSecond<T>) -> Result<Self, Self::Error>
[src]
fn try_from(big: KibibytesPerSecond<T>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<T: TimeInt> TryFrom<KibibytesPerSecond<T>> for BytesPerSecond<T>
[src]
impl<T: TimeInt> TryFrom<KibibytesPerSecond<T>> for BytesPerSecond<T>
[src]fn try_from(big: KibibytesPerSecond<T>) -> Result<Self, Self::Error>
[src]
fn try_from(big: KibibytesPerSecond<T>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<T: TimeInt> TryFrom<KibibytesPerSecond<T>> for BitsPerSecond<T>
[src]
impl<T: TimeInt> TryFrom<KibibytesPerSecond<T>> for BitsPerSecond<T>
[src]fn try_from(big: KibibytesPerSecond<T>) -> Result<Self, Self::Error>
[src]
fn try_from(big: KibibytesPerSecond<T>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<KibibytesPerSecond<u64>> for MebibytesPerSecond<u32>
[src]
impl TryFrom<KibibytesPerSecond<u64>> for MebibytesPerSecond<u32>
[src]fn try_from(small: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(small: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<KibibytesPerSecond<u64>> for MebibitsPerSecond<u32>
[src]
impl TryFrom<KibibytesPerSecond<u64>> for MebibitsPerSecond<u32>
[src]fn try_from(small: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(small: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<KibibytesPerSecond<u64>> for KibibytesPerSecond<u32>
[src]
impl TryFrom<KibibytesPerSecond<u64>> for KibibytesPerSecond<u32>
[src]fn try_from(source: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(source: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<KibibytesPerSecond<u64>> for KibibitsPerSecond<u32>
[src]
impl TryFrom<KibibytesPerSecond<u64>> for KibibitsPerSecond<u32>
[src]fn try_from(big: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(big: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<KibibytesPerSecond<u64>> for BytesPerSecond<u32>
[src]
impl TryFrom<KibibytesPerSecond<u64>> for BytesPerSecond<u32>
[src]fn try_from(big: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(big: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<KibibytesPerSecond<u64>> for BitsPerSecond<u32>
[src]
impl TryFrom<KibibytesPerSecond<u64>> for BitsPerSecond<u32>
[src]fn try_from(big: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(big: KibibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<T: TimeInt> TryFrom<MebibitsPerSecond<T>> for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> TryFrom<MebibitsPerSecond<T>> for KibibytesPerSecond<T>
[src]fn try_from(big: MebibitsPerSecond<T>) -> Result<Self, Self::Error>
[src]
fn try_from(big: MebibitsPerSecond<T>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<MebibitsPerSecond<u64>> for KibibytesPerSecond<u32>
[src]
impl TryFrom<MebibitsPerSecond<u64>> for KibibytesPerSecond<u32>
[src]fn try_from(big: MebibitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(big: MebibitsPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<T: TimeInt> TryFrom<MebibytesPerSecond<T>> for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> TryFrom<MebibytesPerSecond<T>> for KibibytesPerSecond<T>
[src]fn try_from(big: MebibytesPerSecond<T>) -> Result<Self, Self::Error>
[src]
fn try_from(big: MebibytesPerSecond<T>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<MebibytesPerSecond<u64>> for KibibytesPerSecond<u32>
[src]
impl TryFrom<MebibytesPerSecond<u64>> for KibibytesPerSecond<u32>
[src]fn try_from(big: MebibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(big: MebibytesPerSecond<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<T: Copy + TimeInt> Copy for KibibytesPerSecond<T>
[src]
impl<T: Eq + TimeInt> Eq for KibibytesPerSecond<T>
[src]
impl<T: TimeInt> StructuralEq for KibibytesPerSecond<T>
[src]
Auto Trait Implementations
impl<T> Send for KibibytesPerSecond<T> where
T: Send,
T: Send,
impl<T> Sync for KibibytesPerSecond<T> where
T: Sync,
T: Sync,
impl<T> Unpin for KibibytesPerSecond<T> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,