pub struct ParameterChange {
pub id: u32,
pub value: f64,
pub sample_offset: i32,
}Expand description
Parameter change event
Fields§
§id: u32Parameter ID
value: f64New normalized value (0.0 to 1.0)
sample_offset: i32Sample offset within the current block
Trait Implementations§
Source§impl Clone for ParameterChange
impl Clone for ParameterChange
Source§fn clone(&self) -> ParameterChange
fn clone(&self) -> ParameterChange
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 moreAuto Trait Implementations§
impl Freeze for ParameterChange
impl RefUnwindSafe for ParameterChange
impl Send for ParameterChange
impl Sync for ParameterChange
impl Unpin for ParameterChange
impl UnsafeUnpin for ParameterChange
impl UnwindSafe for ParameterChange
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