#[repr(transparent)]pub struct MIDINotificationMessageID(pub i32);Available on crate feature
MIDIServices only.Expand description
Signifies the type of a MIDINotification.
Some aspect of the current MIDISetup has changed. No data. Should ignore this message if messages 2-6 are handled.
A device, entity or endpoint was added. Structure is MIDIObjectAddRemoveNotification. New in Mac OS X 10.2.
A device, entity or endpoint was removed. Structure is MIDIObjectAddRemoveNotification. New in Mac OS X 10.2.
An object’s property was changed. Structure is MIDIObjectPropertyChangeNotification. New in Mac OS X 10.2.
A persistent MIDI Thru connection was created or destroyed. No data. New in Mac OS X 10.2.
No data. New in Mac OS X 10.2.
A driver I/O error occurred.
See also Apple’s documentation
Tuple Fields§
§0: i32Implementations§
Source§impl MIDINotificationMessageID
impl MIDINotificationMessageID
pub const MsgSetupChanged: Self
pub const MsgObjectAdded: Self
pub const MsgObjectRemoved: Self
pub const MsgPropertyChanged: Self
pub const MsgThruConnectionsChanged: Self
pub const MsgSerialPortOwnerChanged: Self
pub const MsgIOError: Self
pub const MsgInternalStart: Self
Trait Implementations§
Source§impl Clone for MIDINotificationMessageID
impl Clone for MIDINotificationMessageID
Source§fn clone(&self) -> MIDINotificationMessageID
fn clone(&self) -> MIDINotificationMessageID
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 MIDINotificationMessageID
impl Debug for MIDINotificationMessageID
Source§impl Encode for MIDINotificationMessageID
Available on crate feature objc2 only.
impl Encode for MIDINotificationMessageID
Available on crate feature
objc2 only.Source§impl Hash for MIDINotificationMessageID
impl Hash for MIDINotificationMessageID
Source§impl Ord for MIDINotificationMessageID
impl Ord for MIDINotificationMessageID
Source§fn cmp(&self, other: &MIDINotificationMessageID) -> Ordering
fn cmp(&self, other: &MIDINotificationMessageID) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for MIDINotificationMessageID
impl PartialOrd for MIDINotificationMessageID
Source§impl RefEncode for MIDINotificationMessageID
Available on crate feature objc2 only.
impl RefEncode for MIDINotificationMessageID
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 MIDINotificationMessageID
impl Eq for MIDINotificationMessageID
impl StructuralPartialEq for MIDINotificationMessageID
Auto Trait Implementations§
impl Freeze for MIDINotificationMessageID
impl RefUnwindSafe for MIDINotificationMessageID
impl Send for MIDINotificationMessageID
impl Sync for MIDINotificationMessageID
impl Unpin for MIDINotificationMessageID
impl UnwindSafe for MIDINotificationMessageID
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.