[][src]Struct esp32_hal::units::Hertz

pub struct Hertz(pub ValueType);

Trait Implementations

impl Add<Hertz> for Hertz[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for Hertz[src]

impl Copy for Hertz[src]

impl Debug for Hertz[src]

impl Default for Hertz[src]

impl Display for Hertz[src]

impl Div<Hertz> for Hertz[src]

type Output = ValueType

The resulting type after applying the / operator.

impl Div<Hertz> for Ticks[src]

type Output = NanoSeconds

The resulting type after applying the / operator.

impl Div<Hertz> for TicksU64[src]

type Output = NanoSecondsU64

The resulting type after applying the / operator.

impl Div<u32> for Hertz[src]

type Output = Self

The resulting type after applying the / operator.

impl Eq for Hertz[src]

impl Frequency for Hertz[src]

impl From<Hertz> for ValueType[src]

impl From<Hertz> for HertzU64[src]

impl From<KiloHertz> for Hertz[src]

impl From<MegaHertz> for Hertz[src]

impl From<u32> for Hertz[src]

impl Hash for Hertz[src]

impl Mul<Hertz> for ValueType[src]

type Output = Hertz

The resulting type after applying the * operator.

impl Mul<Hertz> for Seconds[src]

type Output = Ticks

The resulting type after applying the * operator.

impl Mul<Hertz> for SecondsU64[src]

type Output = TicksU64

The resulting type after applying the * operator.

impl Mul<Hertz> for MilliSeconds[src]

type Output = Ticks

The resulting type after applying the * operator.

impl Mul<Hertz> for MilliSecondsU64[src]

type Output = TicksU64

The resulting type after applying the * operator.

impl Mul<Hertz> for MicroSeconds[src]

type Output = Ticks

The resulting type after applying the * operator.

impl Mul<Hertz> for MicroSecondsU64[src]

type Output = TicksU64

The resulting type after applying the * operator.

impl Mul<Hertz> for NanoSeconds[src]

type Output = Ticks

The resulting type after applying the * operator.

impl Mul<Hertz> for NanoSecondsU64[src]

type Output = TicksU64

The resulting type after applying the * operator.

impl Mul<MicroSeconds> for Hertz[src]

type Output = Ticks

The resulting type after applying the * operator.

impl Mul<MicroSecondsU64> for Hertz[src]

type Output = TicksU64

The resulting type after applying the * operator.

impl Mul<MilliSeconds> for Hertz[src]

type Output = Ticks

The resulting type after applying the * operator.

impl Mul<MilliSecondsU64> for Hertz[src]

type Output = TicksU64

The resulting type after applying the * operator.

impl Mul<NanoSeconds> for Hertz[src]

type Output = Ticks

The resulting type after applying the * operator.

impl Mul<NanoSecondsU64> for Hertz[src]

type Output = TicksU64

The resulting type after applying the * operator.

impl Mul<Seconds> for Hertz[src]

type Output = Ticks

The resulting type after applying the * operator.

impl Mul<SecondsU64> for Hertz[src]

type Output = TicksU64

The resulting type after applying the * operator.

impl Mul<u32> for Hertz[src]

type Output = Self

The resulting type after applying the * operator.

impl Ord for Hertz[src]

impl PartialEq<Hertz> for Hertz[src]

impl PartialOrd<Hertz> for Hertz[src]

impl Quantity for Hertz[src]

impl StructuralEq for Hertz[src]

impl StructuralPartialEq for Hertz[src]

impl Sub<Hertz> for Hertz[src]

type Output = Self

The resulting type after applying the - operator.

impl TryFrom<HertzU64> for Hertz[src]

type Error = TryFromIntError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl Send for Hertz

impl Sync for Hertz

impl Unpin for Hertz

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.