#[repr(C)]pub struct MIDIMetaEvent {
pub metaEventType: u8,
pub unused1: u8,
pub unused2: u8,
pub unused3: u8,
pub dataLength: u32,
pub data: [u8; 1],
}
Available on crate feature
MusicPlayer
only.Expand description
The parameters to specify a MIDI meta event
See also Apple’s documentation
Fields§
§metaEventType: u8
§unused1: u8
§unused2: u8
§unused3: u8
§dataLength: u32
§data: [u8; 1]
Trait Implementations§
Source§impl Clone for MIDIMetaEvent
impl Clone for MIDIMetaEvent
Source§fn clone(&self) -> MIDIMetaEvent
fn clone(&self) -> MIDIMetaEvent
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 MIDIMetaEvent
impl Debug for MIDIMetaEvent
Source§impl Encode for MIDIMetaEvent
impl Encode for MIDIMetaEvent
Source§impl PartialEq for MIDIMetaEvent
impl PartialEq for MIDIMetaEvent
Source§impl RefEncode for MIDIMetaEvent
impl RefEncode for MIDIMetaEvent
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 MIDIMetaEvent
impl StructuralPartialEq for MIDIMetaEvent
Auto Trait Implementations§
impl Freeze for MIDIMetaEvent
impl RefUnwindSafe for MIDIMetaEvent
impl Send for MIDIMetaEvent
impl Sync for MIDIMetaEvent
impl Unpin for MIDIMetaEvent
impl UnwindSafe for MIDIMetaEvent
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.