Struct embedded_time::rate::Hertz [−][src]
Expand description
Hertz
Tuple Fields
0: T
Implementations
Trait Implementations
See Formatting
type T = T
type T = T
The integer (magnitude) type
The fractional scaling factor
Multiply with overflow checking
Multiply with overflow checking
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Centihertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Centihertz<RhsInt>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Centihertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Centihertz<RhsInt>>,
See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Hertz<RhsInt>> for Centihertz<T> where
Hertz<RhsInt>: PartialEq<Centihertz<T>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Hertz<RhsInt>> for Centihertz<T> where
Hertz<RhsInt>: PartialEq<Centihertz<T>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Hertz<RhsInt>> for Millihertz<T> where
Hertz<RhsInt>: PartialEq<Millihertz<T>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Hertz<RhsInt>> for Millihertz<T> where
Hertz<RhsInt>: PartialEq<Millihertz<T>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Hertz<RhsInt>> for Microhertz<T> where
Hertz<RhsInt>: PartialEq<Microhertz<T>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Hertz<RhsInt>> for Microhertz<T> where
Hertz<RhsInt>: PartialEq<Microhertz<T>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Microhertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Microhertz<RhsInt>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Microhertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Microhertz<RhsInt>>,
See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Millihertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Millihertz<RhsInt>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialEq<Millihertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Millihertz<RhsInt>>,
See Comparisons
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Centihertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Centihertz<RhsInt>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Centihertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Centihertz<RhsInt>>,
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Hertz<RhsInt>> for Centihertz<T> where
Hertz<RhsInt>: TryFrom<Self> + Ord,
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Hertz<RhsInt>> for Centihertz<T> where
Hertz<RhsInt>: TryFrom<Self> + Ord,
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Hertz<RhsInt>> for Millihertz<T> where
Hertz<RhsInt>: TryFrom<Self> + Ord,
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Hertz<RhsInt>> for Millihertz<T> where
Hertz<RhsInt>: TryFrom<Self> + Ord,
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Hertz<RhsInt>> for Microhertz<T> where
Hertz<RhsInt>: TryFrom<Self> + Ord,
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Hertz<RhsInt>> for Microhertz<T> where
Hertz<RhsInt>: TryFrom<Self> + Ord,
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Microhertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Microhertz<RhsInt>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Microhertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Microhertz<RhsInt>>,
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Millihertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Millihertz<RhsInt>>,
impl<T: TimeInt, RhsInt: TimeInt> PartialOrd<Millihertz<RhsInt>> for Hertz<T> where
Self: TryFrom<Millihertz<RhsInt>>,
See Comparisons
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn to_generic<DestInt: TimeInt>(
self,
scaling_factor: Fraction
) -> Result<Generic<DestInt>, ConversionError> where
Self: FixedPoint,
DestInt: TryFrom<Self::T>,
fn to_generic<DestInt: TimeInt>(
self,
scaling_factor: Fraction
) -> Result<Generic<DestInt>, ConversionError> where
Self: FixedPoint,
DestInt: TryFrom<Self::T>,
fn to_duration<Duration: Duration>(&self) -> Result<Duration, ConversionError> where
Duration: FixedPoint,
Self: FixedPoint,
Duration::T: TryFrom<Self::T>,
fn to_duration<Duration: Duration>(&self) -> Result<Duration, ConversionError> where
Duration: FixedPoint,
Self: FixedPoint,
Duration::T: TryFrom<Self::T>,
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.