Struct ark_api::applet::RawMidiInput
source · [−]pub struct RawMidiInput {
pub timestamp: u64,
pub device_id: u32,
pub len: u32,
pub data: [u8; 8],
}
Expand description
Represents a raw MIDI message.
Fields
timestamp: u64
MIDI timestamp
device_id: u32
Device ID
len: u32
Length of the valid MIDI bytes in data
data: [u8; 8]
Raw MIDI data, needs to be parsed
Trait Implementations
sourceimpl Clone for RawMidiInput
impl Clone for RawMidiInput
sourcefn clone(&self) -> RawMidiInput
fn clone(&self) -> RawMidiInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RawMidiInput
impl Debug for RawMidiInput
impl Copy for RawMidiInput
Auto Trait Implementations
impl RefUnwindSafe for RawMidiInput
impl Send for RawMidiInput
impl Sync for RawMidiInput
impl Unpin for RawMidiInput
impl UnwindSafe for RawMidiInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more