#[repr(C)]pub struct MIDIChannelMessage {
pub status: u8,
pub data1: u8,
pub data2: u8,
pub reserved: u8,
}
Available on crate feature
MusicPlayer
only.Expand description
The parameters to specify a MIDI channel message
See also Apple’s documentation
Fields§
§status: u8
§data1: u8
§data2: u8
§reserved: u8
Trait Implementations§
Source§impl Clone for MIDIChannelMessage
impl Clone for MIDIChannelMessage
Source§fn clone(&self) -> MIDIChannelMessage
fn clone(&self) -> MIDIChannelMessage
Returns a duplicate 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 MIDIChannelMessage
impl Debug for MIDIChannelMessage
Source§impl Encode for MIDIChannelMessage
impl Encode for MIDIChannelMessage
Source§impl PartialEq for MIDIChannelMessage
impl PartialEq for MIDIChannelMessage
Source§impl RefEncode for MIDIChannelMessage
impl RefEncode for MIDIChannelMessage
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MIDIChannelMessage
impl StructuralPartialEq for MIDIChannelMessage
Auto Trait Implementations§
impl Freeze for MIDIChannelMessage
impl RefUnwindSafe for MIDIChannelMessage
impl Send for MIDIChannelMessage
impl Sync for MIDIChannelMessage
impl Unpin for MIDIChannelMessage
impl UnwindSafe for MIDIChannelMessage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.