pub enum Parameter<S>where
S: Sample,{
Constant(S),
Modulated(BlockId),
}Expand description
A block parameter that can be constant or modulated.
Parameters allow block settings (like oscillator frequency or gain level) to be controlled dynamically by modulator blocks during processing.
Variants§
Constant(S)
A fixed value that doesn’t change during processing.
Modulated(BlockId)
A value controlled by a modulator block.
The BlockId references the source modulator.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Parameter<S>where
S: Freeze,
impl<S> RefUnwindSafe for Parameter<S>where
S: RefUnwindSafe,
impl<S> Send for Parameter<S>
impl<S> Sync for Parameter<S>
impl<S> Unpin for Parameter<S>where
S: Unpin,
impl<S> UnwindSafe for Parameter<S>where
S: UnwindSafe,
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