pub struct ParameterCommand {
pub node_id: NodeId,
pub param: String,
pub value: f32,
}Expand description
A command to change a graph-node parameter, sent to the audio thread.
Fields§
§node_id: NodeIdTarget node ID.
param: StringParameter name.
value: f32New value.
Implementations§
Trait Implementations§
Source§impl Clone for ParameterCommand
impl Clone for ParameterCommand
Source§fn clone(&self) -> ParameterCommand
fn clone(&self) -> ParameterCommand
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 ParameterCommand
impl RefUnwindSafe for ParameterCommand
impl Send for ParameterCommand
impl Sync for ParameterCommand
impl Unpin for ParameterCommand
impl UnsafeUnpin for ParameterCommand
impl UnwindSafe for ParameterCommand
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