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: u64MIDI timestamp
device_id: u32Device ID
len: u32Length of the valid MIDI bytes in data
data: [u8; 8]Raw MIDI data, needs to be parsed
Trait Implementations§
source§impl Clone for RawMidiInput
impl Clone for RawMidiInput
source§fn clone(&self) -> RawMidiInput
fn clone(&self) -> RawMidiInput
Returns a copy 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 moresource§impl 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§
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