pub enum MetricConfig {
TimeDomain,
Thd {
fundamental: f64,
},
Imd {
f1: f64,
f2: f64,
},
Spectral,
EvenOddRatio,
DcDrift,
TransferFunction {
reference: String,
},
}Expand description
Metric type configuration.
Variants§
Trait Implementations§
Source§impl Clone for MetricConfig
impl Clone for MetricConfig
Source§fn clone(&self) -> MetricConfig
fn clone(&self) -> MetricConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetricConfig
impl Debug for MetricConfig
Source§impl<'de> Deserialize<'de> for MetricConfig
impl<'de> Deserialize<'de> for MetricConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MetricConfig
impl RefUnwindSafe for MetricConfig
impl Send for MetricConfig
impl Sync for MetricConfig
impl Unpin for MetricConfig
impl UnsafeUnpin for MetricConfig
impl UnwindSafe for MetricConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more