pub struct MidiMessage {
pub status: u8,
pub data1: u8,
pub data2: u8,
pub port: u8,
}Expand description
MIDI message.
Fields§
§status: u8Status byte.
data1: u8First data byte.
data2: u8Second data byte.
port: u8Port number.
Trait Implementations§
Source§impl Debug for MidiMessage
impl Debug for MidiMessage
Source§impl From<&mut i32> for MidiMessage
impl From<&mut i32> for MidiMessage
Auto Trait Implementations§
impl Freeze for MidiMessage
impl RefUnwindSafe for MidiMessage
impl Send for MidiMessage
impl Sync for MidiMessage
impl Unpin for MidiMessage
impl UnwindSafe for MidiMessage
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