Enum rfmod::DspTypeParameq
[−]
[src]
#[repr(C)]pub enum DspTypeParameq { Center, Bandwidth, Gain, }
Parameter types for the DspTypeParameq filter.
Used with Dsp::set_parameter and
Dsp::get_parameter
Variants
CenterFrequency center. 20.0 to 22000.0. Default = 8000.0.
BandwidthOctave range around the center frequency to filter. 0.2 to 5.0. Default = 1.0.
GainFrequency Gain. 0.05 to 3.0. Default = 1.0.
Trait Implementations
impl Clone for DspTypeParameq[src]
fn clone(&self) -> DspTypeParameq[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for DspTypeParameq[src]
fn eq(&self, __arg_0: &DspTypeParameq) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl PartialOrd for DspTypeParameq[src]
fn partial_cmp(&self, __arg_0: &DspTypeParameq) -> Option<Ordering>[src]
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for DspTypeParameq[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more