Trait biquad::frequency::ToHertz [−][src]
pub trait ToHertz { fn hz(self) -> Hertz; fn khz(self) -> Hertz; fn mhz(self) -> Hertz; fn dt(self) -> Hertz; }
Used to implement conversions to the Hertz struct
Required Methods
fn hz(self) -> Hertz
From hertz
fn khz(self) -> Hertz
From kilohertz
fn mhz(self) -> Hertz
From megahertz
fn dt(self) -> Hertz
From delta time (in seconds)
Implementors
impl ToHertz for f32
impl ToHertz for u32