[][src]Struct uikit_sys::NSObject

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

Implementations

impl NSObject[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 NSObject[src]

impl Copy for NSObject[src]

impl Deref for NSObject[src]

type Target = Object

The resulting type after dereferencing.

impl INSObject for NSObject[src]

impl Message for NSObject[src]

impl NSObject_CIImageProvider for NSObject[src]

impl NSObject_NSCoderMethods for NSObject[src]

impl NSObject_NSCopyLinkMoveHandler for NSObject[src]

impl NSObject_NSDelayedPerforming for NSObject[src]

impl NSObject_NSDiscardableContentProxy for NSObject[src]

impl NSObject_NSErrorRecoveryAttempting for NSObject[src]

impl NSObject_NSKeyValueCoding for NSObject[src]

impl NSObject_NSKeyValueObserverNotification for NSObject[src]

impl NSObject_NSKeyValueObserverRegistration for NSObject[src]

impl NSObject_NSKeyValueObserving for NSObject[src]

impl NSObject_NSKeyValueObservingCustomization for NSObject[src]

impl NSObject_NSKeyedArchiverObjectSubstitution for NSObject[src]

impl NSObject_NSKeyedUnarchiverObjectSubstitution for NSObject[src]

impl NSObject_NSThreadPerformAdditions for NSObject[src]

impl NSObject_UIAccessibility for NSObject[src]

impl NSObject_UIAccessibilityAction for NSObject[src]

impl NSObject_UIAccessibilityContainer for NSObject[src]

impl NSObject_UIAccessibilityCustomRotor for NSObject[src]

impl NSObject_UIAccessibilityDragging for NSObject[src]

impl NSObject_UIAccessibilityFocus for NSObject[src]

impl NSObject_UINibLoadingAdditions for NSObject[src]

impl PNSObject for NSObject[src]

Auto Trait Implementations

impl RefUnwindSafe for NSObject

impl !Send for NSObject

impl !Sync for NSObject

impl Unpin for NSObject

impl UnwindSafe for NSObject

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.