Trait esp_idf_hal::units::FromValueType

source ·
pub trait FromValueType {
    // Required methods
    fn Hz(self) -> Hertz;
    fn kHz(self) -> KiloHertz;
    fn MHz(self) -> MegaHertz;
    fn ns(self) -> NanoSeconds;
    fn us(self) -> MicroSeconds;
    fn ms(self) -> MilliSeconds;
    fn s(self) -> Seconds;
    fn ticks(self) -> Ticks;
}

Required Methods§

source

fn Hz(self) -> Hertz

source

fn kHz(self) -> KiloHertz

source

fn MHz(self) -> MegaHertz

source

fn ns(self) -> NanoSeconds

source

fn us(self) -> MicroSeconds

source

fn ms(self) -> MilliSeconds

source

fn s(self) -> Seconds

source

fn ticks(self) -> Ticks

Implementors§