pub struct GainBreakpoint {
pub sample: u64,
pub gain: f32,
pub exponential: bool,
}Expand description
A breakpoint for gain automation.
Fields§
§sample: u64Sample index.
gain: f32Target gain in linear scale.
exponential: boolIf true, interpolate exponentially; otherwise linearly.
Trait Implementations§
Source§impl Clone for GainBreakpoint
impl Clone for GainBreakpoint
Source§fn clone(&self) -> GainBreakpoint
fn clone(&self) -> GainBreakpoint
Returns a duplicate of the value. Read more
1.0.0 · 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 GainBreakpoint
impl Debug for GainBreakpoint
impl Copy for GainBreakpoint
Auto Trait Implementations§
impl Freeze for GainBreakpoint
impl RefUnwindSafe for GainBreakpoint
impl Send for GainBreakpoint
impl Sync for GainBreakpoint
impl Unpin for GainBreakpoint
impl UnsafeUnpin for GainBreakpoint
impl UnwindSafe for GainBreakpoint
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