Trait FrequencyNumExt
Source pub trait FrequencyNumExt {
// Required methods
fn hz(self) -> Frequency;
fn khz(self) -> Frequency;
fn mhz(self) -> Frequency;
fn ghz(self) -> Frequency;
}
Expand description
This trait adds methods to integers to convert values into Frequencys.
Convert integer value into Frequency with that amount of Herz.
Convert integer value into Frequency with that amount of KiloHerz.
Convert integer value into Frequency with that amount of MegaHerz.
Convert integer value into Frequency with that amount of GigaHerz.