#[repr(C, align(16))]pub struct ParameterEvent {
pub param_index: u32,
pub value: f32,
pub sample_offset: u32,
pub event_kind: u32,
}Expand description
Fixed-size parameter change event (16 bytes, 16-byte aligned).
Fields§
§param_index: u32§value: f32§sample_offset: u32§event_kind: u32Trait Implementations§
Source§impl Clone for ParameterEvent
impl Clone for ParameterEvent
Source§fn clone(&self) -> ParameterEvent
fn clone(&self) -> ParameterEvent
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 moreimpl Copy for ParameterEvent
Source§impl Debug for ParameterEvent
impl Debug for ParameterEvent
Source§impl Default for ParameterEvent
impl Default for ParameterEvent
Source§fn default() -> ParameterEvent
fn default() -> ParameterEvent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParameterEvent
impl RefUnwindSafe for ParameterEvent
impl Send for ParameterEvent
impl Sync for ParameterEvent
impl Unpin for ParameterEvent
impl UnsafeUnpin for ParameterEvent
impl UnwindSafe for ParameterEvent
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