pub struct ModulationOutput {
pub name: &'static str,
pub min_value: f64,
pub max_value: f64,
}Expand description
Describes a modulation output provided by a modulator block.
Modulator blocks (LFOs, envelopes) declare their outputs using this type, specifying the output name and expected value range.
Fields§
§name: &'static strHuman-readable name for this output (e.g., “amplitude”, “frequency”).
min_value: f64Minimum value this output can produce.
max_value: f64Maximum value this output can produce.
Trait Implementations§
Source§impl Clone for ModulationOutput
impl Clone for ModulationOutput
Source§fn clone(&self) -> ModulationOutput
fn clone(&self) -> ModulationOutput
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 moreAuto Trait Implementations§
impl Freeze for ModulationOutput
impl RefUnwindSafe for ModulationOutput
impl Send for ModulationOutput
impl Sync for ModulationOutput
impl Unpin for ModulationOutput
impl UnwindSafe for ModulationOutput
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