Struct embedded_time::duration::Minutes [−][src]
pub struct Minutes<T: TimeInt = u32>(pub T);
Expand description
A duration unit type
Implementations
Trait Implementations
impl<T: TimeInt, Rhs: Duration> Add<Rhs> for Minutes<T> where
Rhs: FixedPoint,
Self: TryFrom<Rhs>,
[src]
impl<T: TimeInt, Rhs: Duration> Add<Rhs> for Minutes<T> where
Rhs: FixedPoint,
Self: TryFrom<Rhs>,
[src]impl<T: TimeInt> Display for Minutes<T>
[src]
impl<T: TimeInt> Display for Minutes<T>
[src]fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]See Formatting
impl<T: TimeInt> Duration for Minutes<T>
[src]
impl<T: TimeInt> Duration for Minutes<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]Construct a Generic
Duration
from a named Duration
(eg.
Milliseconds
) Read more
fn to_rate<Rate: Rate>(&self) -> Result<Rate, ConversionError> where
Rate: FixedPoint,
Self: FixedPoint,
Rate::T: TryFrom<Self::T>,
[src]
fn to_rate<Rate: Rate>(&self) -> Result<Rate, ConversionError> where
Rate: FixedPoint,
Self: FixedPoint,
Rate::T: TryFrom<Self::T>,
[src]impl<T: TimeInt> FixedPoint for Minutes<T>
[src]
impl<T: TimeInt> FixedPoint for Minutes<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<Microseconds<T>> for Minutes<T>
[src]
impl<T: TimeInt> From<Microseconds<T>> for Minutes<T>
[src]fn from(small: Microseconds<T>) -> Self
[src]
fn from(small: Microseconds<T>) -> Self
[src]impl From<Microseconds<u32>> for Minutes<u64>
[src]
impl From<Microseconds<u32>> for Minutes<u64>
[src]fn from(small: Microseconds<u32>) -> Self
[src]
fn from(small: Microseconds<u32>) -> Self
[src]impl<T: TimeInt> From<Milliseconds<T>> for Minutes<T>
[src]
impl<T: TimeInt> From<Milliseconds<T>> for Minutes<T>
[src]fn from(small: Milliseconds<T>) -> Self
[src]
fn from(small: Milliseconds<T>) -> Self
[src]impl From<Milliseconds<u32>> for Minutes<u64>
[src]
impl From<Milliseconds<u32>> for Minutes<u64>
[src]fn from(small: Milliseconds<u32>) -> Self
[src]
fn from(small: Milliseconds<u32>) -> Self
[src]impl<T: TimeInt> From<Nanoseconds<T>> for Minutes<T>
[src]
impl<T: TimeInt> From<Nanoseconds<T>> for Minutes<T>
[src]fn from(small: Nanoseconds<T>) -> Self
[src]
fn from(small: Nanoseconds<T>) -> Self
[src]impl From<Nanoseconds<u32>> for Minutes<u64>
[src]
impl From<Nanoseconds<u32>> for Minutes<u64>
[src]fn from(small: Nanoseconds<u32>) -> Self
[src]
fn from(small: Nanoseconds<u32>) -> Self
[src]impl<T: Ord + TimeInt> Ord for Minutes<T>
[src]
impl<T: Ord + TimeInt> Ord for Minutes<T>
[src]impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Hours<RhsInt>> for Minutes<T> where
Self: TryFrom<Hours<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Hours<RhsInt>> for Minutes<T> where
Self: TryFrom<Hours<RhsInt>>,
[src]impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Microseconds<RhsInt>> for Minutes<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Microseconds<RhsInt>> for Minutes<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]fn eq(&self, rhs: &Microseconds<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &Microseconds<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Milliseconds<RhsInt>> for Minutes<T> where
Milliseconds<RhsInt>: TryFrom<Self>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Milliseconds<RhsInt>> for Minutes<T> where
Milliseconds<RhsInt>: TryFrom<Self>,
[src]fn eq(&self, rhs: &Milliseconds<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &Milliseconds<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Minutes<T> where
T: TryFrom<RhsInt>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Minutes<T> where
T: TryFrom<RhsInt>,
[src]impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Hours<T> where
Minutes<RhsInt>: TryFrom<Self>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Hours<T> where
Minutes<RhsInt>: TryFrom<Self>,
[src]impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Nanoseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Nanoseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Microseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Microseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Milliseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Milliseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Seconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Seconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Nanoseconds<RhsInt>> for Minutes<T> where
Nanoseconds<RhsInt>: TryFrom<Self>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Nanoseconds<RhsInt>> for Minutes<T> where
Nanoseconds<RhsInt>: TryFrom<Self>,
[src]fn eq(&self, rhs: &Nanoseconds<RhsInt>) -> bool
[src]
fn eq(&self, rhs: &Nanoseconds<RhsInt>) -> bool
[src]See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Seconds<RhsInt>> for Minutes<T> where
Seconds<RhsInt>: TryFrom<Self>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Seconds<RhsInt>> for Minutes<T> where
Seconds<RhsInt>: TryFrom<Self>,
[src]impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Hours<RhsInt>> for Minutes<T> where
Self: TryFrom<Hours<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Hours<RhsInt>> for Minutes<T> where
Self: TryFrom<Hours<RhsInt>>,
[src]fn partial_cmp(&self, rhs: &Hours<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Hours<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<Microseconds<RhsInt>> for Minutes<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Microseconds<RhsInt>> for Minutes<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]fn partial_cmp(&self, rhs: &Microseconds<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Microseconds<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<Milliseconds<RhsInt>> for Minutes<T> where
Milliseconds<RhsInt>: TryFrom<Self>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Milliseconds<RhsInt>> for Minutes<T> where
Milliseconds<RhsInt>: TryFrom<Self>,
[src]fn partial_cmp(&self, rhs: &Milliseconds<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Milliseconds<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<Minutes<RhsInt>> for Minutes<T> where
T: TryFrom<RhsInt>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Minutes<RhsInt>> for Minutes<T> where
T: TryFrom<RhsInt>,
[src]fn partial_cmp(&self, rhs: &Minutes<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Minutes<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<Minutes<RhsInt>> for Hours<T> where
Minutes<RhsInt>: TryFrom<Self>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Minutes<RhsInt>> for Hours<T> where
Minutes<RhsInt>: TryFrom<Self>,
[src]fn partial_cmp(&self, rhs: &Minutes<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Minutes<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<Minutes<RhsInt>> for Nanoseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Minutes<RhsInt>> for Nanoseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]fn partial_cmp(&self, rhs: &Minutes<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Minutes<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<Minutes<RhsInt>> for Microseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Minutes<RhsInt>> for Microseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]fn partial_cmp(&self, rhs: &Minutes<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Minutes<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<Minutes<RhsInt>> for Milliseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Minutes<RhsInt>> for Milliseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]fn partial_cmp(&self, rhs: &Minutes<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Minutes<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<Minutes<RhsInt>> for Seconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Minutes<RhsInt>> for Seconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]fn partial_cmp(&self, rhs: &Minutes<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Minutes<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<Nanoseconds<RhsInt>> for Minutes<T> where
Nanoseconds<RhsInt>: TryFrom<Self>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Nanoseconds<RhsInt>> for Minutes<T> where
Nanoseconds<RhsInt>: TryFrom<Self>,
[src]fn partial_cmp(&self, rhs: &Nanoseconds<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Nanoseconds<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<Seconds<RhsInt>> for Minutes<T> where
Seconds<RhsInt>: TryFrom<Self>,
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Seconds<RhsInt>> for Minutes<T> where
Seconds<RhsInt>: TryFrom<Self>,
[src]fn partial_cmp(&self, rhs: &Seconds<RhsInt>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Seconds<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, Rhs: Duration> Rem<Rhs> for Minutes<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]
impl<T: TimeInt, Rhs: Duration> Rem<Rhs> for Minutes<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]impl<T: TimeInt, Rhs: Duration> Sub<Rhs> for Minutes<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]
impl<T: TimeInt, Rhs: Duration> Sub<Rhs> for Minutes<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]impl TryFrom<Duration> for Minutes<u32>
[src]
impl TryFrom<Duration> for Minutes<u32>
[src]impl<SourceInt: TimeInt, DestInt: TimeInt> TryFrom<Generic<SourceInt>> for Minutes<DestInt> where
DestInt: TryFrom<SourceInt>,
[src]
impl<SourceInt: TimeInt, DestInt: TimeInt> TryFrom<Generic<SourceInt>> for Minutes<DestInt> where
DestInt: TryFrom<SourceInt>,
[src]impl<T: TimeInt> TryFrom<Hours<T>> for Minutes<T>
[src]
impl<T: TimeInt> TryFrom<Hours<T>> for Minutes<T>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Hours<u64>> for Minutes<u32>
[src]
impl TryFrom<Hours<u64>> for Minutes<u32>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Microseconds<u64>> for Minutes<u32>
[src]
impl TryFrom<Microseconds<u64>> for Minutes<u32>
[src]fn try_from(small: Microseconds<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(small: Microseconds<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Milliseconds<u64>> for Minutes<u32>
[src]
impl TryFrom<Milliseconds<u64>> for Minutes<u32>
[src]fn try_from(small: Milliseconds<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(small: Milliseconds<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<Minutes<T>> for Nanoseconds<T>
[src]
impl<T: TimeInt> TryFrom<Minutes<T>> for Nanoseconds<T>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<T: TimeInt> TryFrom<Minutes<T>> for Microseconds<T>
[src]
impl<T: TimeInt> TryFrom<Minutes<T>> for Microseconds<T>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<T: TimeInt> TryFrom<Minutes<T>> for Milliseconds<T>
[src]
impl<T: TimeInt> TryFrom<Minutes<T>> for Milliseconds<T>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<T: TimeInt> TryFrom<Minutes<T>> for Seconds<T>
[src]
impl<T: TimeInt> TryFrom<Minutes<T>> for Seconds<T>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Minutes<u64>> for Minutes<u32>
[src]
impl TryFrom<Minutes<u64>> for Minutes<u32>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Minutes<u64>> for Hours<u32>
[src]
impl TryFrom<Minutes<u64>> for Hours<u32>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Minutes<u64>> for Nanoseconds<u32>
[src]
impl TryFrom<Minutes<u64>> for Nanoseconds<u32>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Minutes<u64>> for Microseconds<u32>
[src]
impl TryFrom<Minutes<u64>> for Microseconds<u32>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Minutes<u64>> for Milliseconds<u32>
[src]
impl TryFrom<Minutes<u64>> for Milliseconds<u32>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Minutes<u64>> for Seconds<u32>
[src]
impl TryFrom<Minutes<u64>> for Seconds<u32>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Nanoseconds<u64>> for Minutes<u32>
[src]
impl TryFrom<Nanoseconds<u64>> for Minutes<u32>
[src]fn try_from(small: Nanoseconds<u64>) -> Result<Self, Self::Error>
[src]
fn try_from(small: Nanoseconds<u64>) -> Result<Self, Self::Error>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl TryFrom<Seconds<u64>> for Minutes<u32>
[src]
impl TryFrom<Seconds<u64>> for Minutes<u32>
[src]type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl<T: Copy + TimeInt> Copy for Minutes<T>
[src]
impl<T: Eq + TimeInt> Eq for Minutes<T>
[src]
impl<T: TimeInt> StructuralEq for Minutes<T>
[src]
Auto Trait Implementations
impl<T> Send for Minutes<T> where
T: Send,
T: Send,
impl<T> Sync for Minutes<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Minutes<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>,