#[repr(C)]pub struct MIDINotification {
pub messageID: MIDINotificationMessageID,
pub messageSize: u32,
}Available on crate feature
MIDIServices only.Expand description
A message describing a system state change.
A MIDINotification is a structure passed to a MIDINotifyProc or MIDINotifyBlock, when CoreMIDI wishes to inform a client of a change in the state of the system.
Field: messageID type of message Field: messageSize size of the entire message, including messageID and messageSize
See also Apple’s documentation
Fields§
§messageID: MIDINotificationMessageID§messageSize: u32Trait Implementations§
Source§impl Clone for MIDINotification
impl Clone for MIDINotification
Source§fn clone(&self) -> MIDINotification
fn clone(&self) -> MIDINotification
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 MIDINotification
impl Debug for MIDINotification
Source§impl Encode for MIDINotification
Available on crate feature objc2 only.
impl Encode for MIDINotification
Available on crate feature
objc2 only.Source§impl PartialEq for MIDINotification
impl PartialEq for MIDINotification
Source§impl RefEncode for MIDINotification
Available on crate feature objc2 only.
impl RefEncode for MIDINotification
Available on crate feature
objc2 only.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 MIDINotification
impl StructuralPartialEq for MIDINotification
Auto Trait Implementations§
impl Freeze for MIDINotification
impl RefUnwindSafe for MIDINotification
impl Send for MIDINotification
impl Sync for MIDINotification
impl Unpin for MIDINotification
impl UnwindSafe for MIDINotification
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.