pub struct FitRequest<'a> {
pub g: &'a [f64],
pub corr_db: &'a [f64],
pub n: usize,
pub lo: f64,
pub hi: f64,
pub boost: f64,
pub ring_ms: Option<f64>,
pub f_max: Option<f64>,
}Expand description
One fit_peq call’s arguments. The grid and correction must have equal,
nonzero length; frequencies, bounds and residuals must be finite and valid.
Fields§
§g: &'a [f64]§corr_db: &'a [f64]§n: usize§lo: f64§hi: f64§boost: f64§ring_ms: Option<f64>§f_max: Option<f64>Trait Implementations§
Source§impl<'a> Clone for FitRequest<'a>
impl<'a> Clone for FitRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for FitRequest<'a>
impl<'a> RefUnwindSafe for FitRequest<'a>
impl<'a> Send for FitRequest<'a>
impl<'a> Sync for FitRequest<'a>
impl<'a> Unpin for FitRequest<'a>
impl<'a> UnsafeUnpin for FitRequest<'a>
impl<'a> UnwindSafe for FitRequest<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more