#[repr(C)]pub struct MIDIObjectAddRemoveNotification {
pub messageID: MIDINotificationMessageID,
pub messageSize: u32,
pub parent: MIDIObjectRef,
pub parentType: MIDIObjectType,
pub child: MIDIObjectRef,
pub childType: MIDIObjectType,
}Available on crate feature
MIDIServices only.Expand description
A message describing the addition or removal of an object.
Field: messageID type of message Field: messageSize size of the entire message, including messageID and messageSize Field: parent the parent of the added or removed object (possibly NULL) Field: parentType the type of the parent object (undefined if parent is NULL) Field: child the added or removed object Field: childType the type of the added or removed object
See also Apple’s documentation
Fields§
§messageID: MIDINotificationMessageID§messageSize: u32§parent: MIDIObjectRef§parentType: MIDIObjectType§child: MIDIObjectRef§childType: MIDIObjectTypeTrait Implementations§
Source§impl Clone for MIDIObjectAddRemoveNotification
impl Clone for MIDIObjectAddRemoveNotification
Source§fn clone(&self) -> MIDIObjectAddRemoveNotification
fn clone(&self) -> MIDIObjectAddRemoveNotification
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 Encode for MIDIObjectAddRemoveNotification
Available on crate feature objc2 only.
impl Encode for MIDIObjectAddRemoveNotification
Available on crate feature
objc2 only.Source§impl PartialEq for MIDIObjectAddRemoveNotification
impl PartialEq for MIDIObjectAddRemoveNotification
Source§fn eq(&self, other: &MIDIObjectAddRemoveNotification) -> bool
fn eq(&self, other: &MIDIObjectAddRemoveNotification) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for MIDIObjectAddRemoveNotification
Available on crate feature objc2 only.
impl RefEncode for MIDIObjectAddRemoveNotification
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 MIDIObjectAddRemoveNotification
impl StructuralPartialEq for MIDIObjectAddRemoveNotification
Auto Trait Implementations§
impl Freeze for MIDIObjectAddRemoveNotification
impl RefUnwindSafe for MIDIObjectAddRemoveNotification
impl Send for MIDIObjectAddRemoveNotification
impl Sync for MIDIObjectAddRemoveNotification
impl Unpin for MIDIObjectAddRemoveNotification
impl UnwindSafe for MIDIObjectAddRemoveNotification
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.