[][src]Struct uikit_sys::NSNumber

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

Implementations

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

impl Copy for NSNumber[src]

impl Deref for NSNumber[src]

type Target = Object

The resulting type after dereferencing.

impl INSNumber for NSNumber[src]

impl INSObject for NSNumber[src]

impl INSValue for NSNumber[src]

impl Message for NSNumber[src]

impl NSNumber_NSDecimalNumberExtensions for NSNumber[src]

impl NSNumber_NSNumberCreation for NSNumber[src]

impl NSObject_CIImageProvider for NSNumber[src]

impl NSObject_NSCoderMethods for NSNumber[src]

impl NSObject_NSCopyLinkMoveHandler for NSNumber[src]

impl NSObject_NSDelayedPerforming for NSNumber[src]

impl NSObject_NSDiscardableContentProxy for NSNumber[src]

impl NSObject_NSErrorRecoveryAttempting for NSNumber[src]

impl NSObject_NSKeyValueCoding for NSNumber[src]

impl NSObject_NSKeyValueObserverNotification for NSNumber[src]

impl NSObject_NSKeyValueObserverRegistration for NSNumber[src]

impl NSObject_NSKeyValueObserving for NSNumber[src]

impl NSObject_NSKeyValueObservingCustomization for NSNumber[src]

impl NSObject_NSKeyedArchiverObjectSubstitution for NSNumber[src]

impl NSObject_NSKeyedUnarchiverObjectSubstitution for NSNumber[src]

impl NSObject_NSThreadPerformAdditions for NSNumber[src]

impl NSObject_UIAccessibility for NSNumber[src]

impl NSObject_UIAccessibilityAction for NSNumber[src]

impl NSObject_UIAccessibilityContainer for NSNumber[src]

impl NSObject_UIAccessibilityCustomRotor for NSNumber[src]

impl NSObject_UIAccessibilityDragging for NSNumber[src]

impl NSObject_UIAccessibilityFocus for NSNumber[src]

impl NSObject_UINibLoadingAdditions for NSNumber[src]

impl NSValue_CATransform3DAdditions for NSNumber[src]

impl NSValue_NSDeprecated for NSNumber[src]

impl NSValue_NSValueCreation for NSNumber[src]

impl NSValue_NSValueExtensionMethods for NSNumber[src]

impl NSValue_NSValueRangeExtensions for NSNumber[src]

impl NSValue_NSValueUIGeometryExtensions for NSNumber[src]

Auto Trait Implementations

impl RefUnwindSafe for NSNumber

impl !Send for NSNumber

impl !Sync for NSNumber

impl Unpin for NSNumber

impl UnwindSafe for NSNumber

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.