[−][src]Struct embedded_time::duration::Microseconds
A duration unit type
Implementations
impl<T: TimeInt> Microseconds<T>
[src]
Trait Implementations
impl<T: TimeInt, Clock: Clock> Add<Instant<Clock>> for Microseconds<T> where
Clock::T: TryFrom<T>,
[src]
Clock::T: TryFrom<T>,
type Output = Instant<Clock>
The resulting type after applying the +
operator.
fn add(self, rhs: Instant<Clock>) -> Self::Output
[src]
impl<T: TimeInt, Rhs: Duration> Add<Rhs> for Microseconds<T> where
Rhs: FixedPoint,
Self: TryFrom<Rhs>,
[src]
Rhs: FixedPoint,
Self: TryFrom<Rhs>,
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Rhs) -> Self::Output
[src]
See Add/Sub
impl<T: Clone + TimeInt> Clone for Microseconds<T>
[src]
fn clone(&self) -> Microseconds<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy + TimeInt> Copy for Microseconds<T>
[src]
impl<T: Debug + TimeInt> Debug for Microseconds<T>
[src]
impl<T: Default + TimeInt> Default for Microseconds<T>
[src]
fn default() -> Microseconds<T>
[src]
impl<T: TimeInt> Display for Microseconds<T>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
See Formatting
impl<T: TimeInt> Div<T> for Microseconds<T>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: T) -> Self::Output
[src]
See Mul/Div
impl<T: TimeInt> Duration for Microseconds<T>
[src]
fn to_generic<DestInt: TimeInt>(
self,
scaling_factor: Fraction
) -> Result<Generic<DestInt>, ConversionError> where
Self: FixedPoint,
DestInt: TryFrom<Self::T>,
[src]
self,
scaling_factor: Fraction
) -> Result<Generic<DestInt>, ConversionError> where
Self: FixedPoint,
DestInt: TryFrom<Self::T>,
fn to_rate<Rate: Rate>(&self) -> Result<Rate, ConversionError> where
Rate: FixedPoint,
Self: FixedPoint,
Rate::T: TryFrom<Self::T>,
[src]
Rate: FixedPoint,
Self: FixedPoint,
Rate::T: TryFrom<Self::T>,
impl<T: Eq + TimeInt> Eq for Microseconds<T>
[src]
impl<T: TimeInt> FixedPoint for Microseconds<T>
[src]
type T = T
The integer (magnitude) type
const SCALING_FACTOR: Fraction
[src]
fn new(value: Self::T) -> Self
[src]
fn integer(&self) -> &Self::T
[src]
fn checked_mul(&self, rhs: &Self::T) -> Option<Self>
[src]
fn checked_div(&self, rhs: &Self::T) -> Option<Self>
[src]
fn min_value() -> Self::T
[src]
fn max_value() -> Self::T
[src]
impl From<Hours<u32>> for Microseconds<u64>
[src]
impl<T: TimeInt> From<Microseconds<T>> for Generic<T>
[src]
fn from(duration: Microseconds<T>) -> Self
[src]
impl<T: TimeInt> From<Microseconds<T>> for Hours<T>
[src]
fn from(small: Microseconds<T>) -> Self
[src]
impl<T: TimeInt> From<Microseconds<T>> for Minutes<T>
[src]
fn from(small: Microseconds<T>) -> Self
[src]
impl<T: TimeInt> From<Microseconds<T>> for Seconds<T>
[src]
fn from(small: Microseconds<T>) -> Self
[src]
impl<T: TimeInt> From<Microseconds<T>> for Milliseconds<T>
[src]
fn from(small: Microseconds<T>) -> Self
[src]
impl From<Microseconds<u32>> for Microseconds<u64>
[src]
fn from(source: Microseconds<u32>) -> Self
[src]
impl From<Microseconds<u32>> for Hours<u64>
[src]
fn from(small: Microseconds<u32>) -> Self
[src]
impl From<Microseconds<u32>> for Minutes<u64>
[src]
fn from(small: Microseconds<u32>) -> Self
[src]
impl From<Microseconds<u32>> for Seconds<u64>
[src]
fn from(small: Microseconds<u32>) -> Self
[src]
impl From<Microseconds<u32>> for Milliseconds<u64>
[src]
fn from(small: Microseconds<u32>) -> Self
[src]
impl From<Microseconds<u32>> for Nanoseconds<u64>
[src]
fn from(big: Microseconds<u32>) -> Self
[src]
impl From<Milliseconds<u32>> for Microseconds<u64>
[src]
fn from(big: Milliseconds<u32>) -> Self
[src]
impl From<Minutes<u32>> for Microseconds<u64>
[src]
impl<T: TimeInt> From<Nanoseconds<T>> for Microseconds<T>
[src]
fn from(small: Nanoseconds<T>) -> Self
[src]
impl From<Nanoseconds<u32>> for Microseconds<u64>
[src]
fn from(small: Nanoseconds<u32>) -> Self
[src]
impl From<Seconds<u32>> for Microseconds<u64>
[src]
impl<T: Hash + TimeInt> Hash for Microseconds<T>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: TimeInt> Mul<T> for Microseconds<T>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: T) -> Self::Output
[src]
See Mul/Div
impl<T: Ord + TimeInt> Ord for Microseconds<T>
[src]
fn cmp(&self, other: &Microseconds<T>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Hours<RhsInt>> for Microseconds<T> where
Self: TryFrom<Hours<RhsInt>>,
[src]
Self: TryFrom<Hours<RhsInt>>,
fn eq(&self, rhs: &Hours<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Microseconds<RhsInt>> for Microseconds<T> where
T: TryFrom<RhsInt>,
[src]
T: TryFrom<RhsInt>,
fn eq(&self, rhs: &Microseconds<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Microseconds<RhsInt>> for Hours<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]
Microseconds<RhsInt>: TryFrom<Self>,
fn eq(&self, rhs: &Microseconds<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Microseconds<RhsInt>> for Minutes<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]
Microseconds<RhsInt>: TryFrom<Self>,
fn eq(&self, rhs: &Microseconds<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Microseconds<RhsInt>> for Seconds<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]
Microseconds<RhsInt>: TryFrom<Self>,
fn eq(&self, rhs: &Microseconds<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Microseconds<RhsInt>> for Milliseconds<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]
Microseconds<RhsInt>: TryFrom<Self>,
fn eq(&self, rhs: &Microseconds<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Microseconds<RhsInt>> for Nanoseconds<T> where
Self: TryFrom<Microseconds<RhsInt>>,
[src]
Self: TryFrom<Microseconds<RhsInt>>,
fn eq(&self, rhs: &Microseconds<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Milliseconds<RhsInt>> for Microseconds<T> where
Self: TryFrom<Milliseconds<RhsInt>>,
[src]
Self: TryFrom<Milliseconds<RhsInt>>,
fn eq(&self, rhs: &Milliseconds<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Minutes<RhsInt>> for Microseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]
Self: TryFrom<Minutes<RhsInt>>,
fn eq(&self, rhs: &Minutes<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Nanoseconds<RhsInt>> for Microseconds<T> where
Nanoseconds<RhsInt>: TryFrom<Self>,
[src]
Nanoseconds<RhsInt>: TryFrom<Self>,
fn eq(&self, rhs: &Nanoseconds<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Seconds<RhsInt>> for Microseconds<T> where
Self: TryFrom<Seconds<RhsInt>>,
[src]
Self: TryFrom<Seconds<RhsInt>>,
fn eq(&self, rhs: &Seconds<RhsInt>) -> bool
[src]
See Comparisons
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Hours<RhsInt>> for Microseconds<T> where
Self: TryFrom<Hours<RhsInt>>,
[src]
Self: TryFrom<Hours<RhsInt>>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Microseconds<RhsInt>> for Microseconds<T> where
T: TryFrom<RhsInt>,
[src]
T: TryFrom<RhsInt>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Microseconds<RhsInt>> for Hours<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]
Microseconds<RhsInt>: TryFrom<Self>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Microseconds<RhsInt>> for Minutes<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]
Microseconds<RhsInt>: TryFrom<Self>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Microseconds<RhsInt>> for Seconds<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]
Microseconds<RhsInt>: TryFrom<Self>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Microseconds<RhsInt>> for Milliseconds<T> where
Microseconds<RhsInt>: TryFrom<Self>,
[src]
Microseconds<RhsInt>: TryFrom<Self>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Microseconds<RhsInt>> for Nanoseconds<T> where
Self: TryFrom<Microseconds<RhsInt>>,
[src]
Self: TryFrom<Microseconds<RhsInt>>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Milliseconds<RhsInt>> for Microseconds<T> where
Self: TryFrom<Milliseconds<RhsInt>>,
[src]
Self: TryFrom<Milliseconds<RhsInt>>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Minutes<RhsInt>> for Microseconds<T> where
Self: TryFrom<Minutes<RhsInt>>,
[src]
Self: TryFrom<Minutes<RhsInt>>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Nanoseconds<RhsInt>> for Microseconds<T> where
Nanoseconds<RhsInt>: TryFrom<Self>,
[src]
Nanoseconds<RhsInt>: TryFrom<Self>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Seconds<RhsInt>> for Microseconds<T> where
Self: TryFrom<Seconds<RhsInt>>,
[src]
Self: TryFrom<Seconds<RhsInt>>,
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 le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: TimeInt, Rhs: Duration> Rem<Rhs> for Microseconds<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, rhs: Rhs) -> Self::Output
[src]
See Remainder
impl<T: TimeInt> StructuralEq for Microseconds<T>
[src]
impl<T: TimeInt, Rhs: Duration> Sub<Rhs> for Microseconds<T> where
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
[src]
Self: TryFrom<Rhs>,
Rhs: FixedPoint,
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Rhs) -> Self::Output
[src]
See Add/Sub
impl<T: TimeInt> TryFrom<Duration> for Microseconds<T> where
T: TryFrom<u128>,
[src]
T: TryFrom<u128>,
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(core_duration: Duration) -> Result<Self, Self::Error>
[src]
impl<SourceInt: TimeInt, DestInt: TimeInt> TryFrom<Generic<SourceInt>> for Microseconds<DestInt> where
DestInt: TryFrom<SourceInt>,
[src]
DestInt: TryFrom<SourceInt>,
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(generic_duration: Generic<SourceInt>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<Hours<T>> for Microseconds<T>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: Hours<T>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Hours<u64>> for Microseconds<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: Hours<u64>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<Microseconds<T>> for Duration where
u64: From<T>,
[src]
u64: From<T>,
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(duration: Microseconds<T>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<Microseconds<T>> for Nanoseconds<T>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: Microseconds<T>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Microseconds<u64>> for Microseconds<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(source: Microseconds<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Microseconds<u64>> for Hours<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(small: Microseconds<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Microseconds<u64>> for Minutes<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(small: Microseconds<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Microseconds<u64>> for Seconds<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(small: Microseconds<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Microseconds<u64>> for Milliseconds<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(small: Microseconds<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Microseconds<u64>> for Nanoseconds<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: Microseconds<u64>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<Milliseconds<T>> for Microseconds<T>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: Milliseconds<T>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Milliseconds<u64>> for Microseconds<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: Milliseconds<u64>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<Minutes<T>> for Microseconds<T>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: Minutes<T>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Minutes<u64>> for Microseconds<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: Minutes<u64>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Nanoseconds<u64>> for Microseconds<u32>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(small: Nanoseconds<u64>) -> Result<Self, Self::Error>
[src]
impl<T: TimeInt> TryFrom<Seconds<T>> for Microseconds<T>
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(big: Seconds<T>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Seconds<u64>> for Microseconds<u32>
[src]
Auto Trait Implementations
impl<T> Send for Microseconds<T> where
T: Send,
T: Send,
impl<T> Sync for Microseconds<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Microseconds<T> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,