[][src]Struct uikit_sys::NSNotification

#[repr(transparent)]pub struct NSNotification(pub id);

Implementations

impl NSNotification[src]

pub fn alloc() -> Self[src]

Methods from Deref<Target = Object>

pub fn class(&self) -> &Class[src]

Returns the class of self.

pub unsafe fn get_ivar<T>(&self, name: &str) -> &T where
    T: Encode
[src]

Returns a reference to the ivar of self with the given name. Panics if self has no ivar with the given name. Unsafe because the caller must ensure that the ivar is actually of type T.

Trait Implementations

impl Clone for NSNotification[src]

impl Copy for NSNotification[src]

impl Deref for NSNotification[src]

type Target = Object

The resulting type after dereferencing.

impl INSNotification for NSNotification[src]

impl INSObject for NSNotification[src]

impl Message for NSNotification[src]

impl NSNotification_NSNotificationCreation for NSNotification[src]

impl NSObject_CIImageProvider for NSNotification[src]

impl NSObject_NSCoderMethods for NSNotification[src]

impl NSObject_NSCopyLinkMoveHandler for NSNotification[src]

impl NSObject_NSDelayedPerforming for NSNotification[src]

impl NSObject_NSDiscardableContentProxy for NSNotification[src]

impl NSObject_NSErrorRecoveryAttempting for NSNotification[src]

impl NSObject_NSKeyValueCoding for NSNotification[src]

impl NSObject_NSKeyValueObserverNotification for NSNotification[src]

impl NSObject_NSKeyValueObserverRegistration for NSNotification[src]

impl NSObject_NSKeyValueObserving for NSNotification[src]

impl NSObject_NSKeyValueObservingCustomization for NSNotification[src]

impl NSObject_NSKeyedArchiverObjectSubstitution for NSNotification[src]

impl NSObject_NSKeyedUnarchiverObjectSubstitution for NSNotification[src]

impl NSObject_NSThreadPerformAdditions for NSNotification[src]

impl NSObject_UIAccessibility for NSNotification[src]

impl NSObject_UIAccessibilityAction for NSNotification[src]

impl NSObject_UIAccessibilityContainer for NSNotification[src]

impl NSObject_UIAccessibilityCustomRotor for NSNotification[src]

impl NSObject_UIAccessibilityDragging for NSNotification[src]

impl NSObject_UIAccessibilityFocus for NSNotification[src]

impl NSObject_UINibLoadingAdditions for NSNotification[src]

impl PNSCoding for NSNotification[src]

impl PNSCopying for NSNotification[src]

Auto Trait Implementations

impl RefUnwindSafe for NSNotification

impl !Send for NSNotification

impl !Sync for NSNotification

impl Unpin for NSNotification

impl UnwindSafe for NSNotification

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.