pub enum EventData {
Midi([u8; 3]),
SysEx {
len: u16,
bytes: [u8; 256],
},
Parameter {
id: u32,
value: f64,
},
Transport(Transport),
}Variants§
Midi([u8; 3])
MIDI 1 channel message. Unused bytes in 2-byte messages must be zero.
SysEx
Parameter
Transport(Transport)
An in-block transport change. Processing splits at this sample offset.
Trait Implementations§
impl Copy for EventData
impl StructuralPartialEq for EventData
Auto Trait Implementations§
impl Freeze for EventData
impl RefUnwindSafe for EventData
impl Send for EventData
impl Sync for EventData
impl Unpin for EventData
impl UnsafeUnpin for EventData
impl UnwindSafe for EventData
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