pub struct Peak {
pub hz: f64,
pub hz_bounds: Option<(f64, f64)>,
pub period_beats: Option<f64>,
pub period_beats_bounds: Option<(f64, f64)>,
pub depth: f64,
pub depth_bounds: Option<(f64, f64)>,
}Expand description
depth is a modulation index for an envelope, Hz for a centroid. Each bound is MODEL’s,
None where the window leaves or refutes MODEL’s lone modulation.
Fields§
§hz: f64§hz_bounds: Option<(f64, f64)>§period_beats: Option<f64>§period_beats_bounds: Option<(f64, f64)>§depth: f64§depth_bounds: Option<(f64, f64)>Trait Implementations§
impl Copy for Peak
impl StructuralPartialEq for Peak
Auto Trait Implementations§
impl Freeze for Peak
impl RefUnwindSafe for Peak
impl Send for Peak
impl Sync for Peak
impl Unpin for Peak
impl UnsafeUnpin for Peak
impl UnwindSafe for Peak
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,
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