esp_idf_hal::units

Trait 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§