pub struct ModulationSink {
pub target_kind: ModulationSinkKind,
pub bias: f64,
pub range: f64,
}Expand description
Modulation sink: how a component receives LFO/envelope control signals.
Fields§
§target_kind: ModulationSinkKindWhich kind of modulation target this maps to.
bias: f64Center/offset voltage for the modulation.
range: f64Modulation amplitude (half-swing from bias).
Trait Implementations§
Source§impl Clone for ModulationSink
impl Clone for ModulationSink
Source§fn clone(&self) -> ModulationSink
fn clone(&self) -> ModulationSink
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 ModulationSink
impl Debug for ModulationSink
Source§impl PartialEq for ModulationSink
impl PartialEq for ModulationSink
Source§fn eq(&self, other: &ModulationSink) -> bool
fn eq(&self, other: &ModulationSink) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModulationSink
Auto Trait Implementations§
impl Freeze for ModulationSink
impl RefUnwindSafe for ModulationSink
impl Send for ModulationSink
impl Sync for ModulationSink
impl Unpin for ModulationSink
impl UnsafeUnpin for ModulationSink
impl UnwindSafe for ModulationSink
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