pub struct Mebibaud<T: TimeInt = u32>(pub T);
Expand description
Baud × 1,048,576
Tuple Fields§
§0: T
Implementations§
Trait Implementations§
Source§impl<T: TimeInt> FixedPoint for Mebibaud<T>
impl<T: TimeInt> FixedPoint for Mebibaud<T>
Source§impl<T: Ord + TimeInt> Ord for Mebibaud<T>
impl<T: Ord + TimeInt> Ord for Mebibaud<T>
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<T: TimeInt, RhsInt: TimeInt> PartialOrd<Baud<RhsInt>> for Mebibaud<T>
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Baud<RhsInt>> for Mebibaud<T>
Source§impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Kibibaud<RhsInt>> for Mebibaud<T>
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Kibibaud<RhsInt>> for Mebibaud<T>
Source§impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Mebibaud<RhsInt>> for Baud<T>
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Mebibaud<RhsInt>> for Baud<T>
Source§impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Mebibaud<RhsInt>> for Kibibaud<T>
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Mebibaud<RhsInt>> for Kibibaud<T>
Source§impl<T, RhsInt: TimeInt> PartialOrd<Mebibaud<RhsInt>> for Mebibaud<T>
impl<T, RhsInt: TimeInt> PartialOrd<Mebibaud<RhsInt>> for Mebibaud<T>
Source§impl<T: TimeInt> Rate for Mebibaud<T>
impl<T: TimeInt> Rate for Mebibaud<T>
Source§fn to_generic<DestInt>(
self,
scaling_factor: Fraction,
) -> Result<Generic<DestInt>, ConversionError>
fn to_generic<DestInt>( self, scaling_factor: Fraction, ) -> Result<Generic<DestInt>, ConversionError>
Source§fn to_duration<Duration>(&self) -> Result<Duration, ConversionError>
fn to_duration<Duration>(&self) -> Result<Duration, ConversionError>
impl<T: Copy + TimeInt> Copy for Mebibaud<T>
impl<T: Eq + TimeInt> Eq for Mebibaud<T>
Auto Trait Implementations§
impl<T> Freeze for Mebibaud<T>where
T: Freeze,
impl<T> RefUnwindSafe for Mebibaud<T>where
T: RefUnwindSafe,
impl<T> Send for Mebibaud<T>where
T: Send,
impl<T> Sync for Mebibaud<T>where
T: Sync,
impl<T> Unpin for Mebibaud<T>where
T: Unpin,
impl<T> UnwindSafe for Mebibaud<T>where
T: UnwindSafe,
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