[][src]Struct uikit_sys::UITraitCollection

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

Implementations

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

impl Copy for UITraitCollection[src]

impl Deref for UITraitCollection[src]

type Target = Object

The resulting type after dereferencing.

impl INSObject for UITraitCollection[src]

impl IUITraitCollection for UITraitCollection[src]

impl Message for UITraitCollection[src]

impl NSObject_CIImageProvider for UITraitCollection[src]

impl NSObject_NSCoderMethods for UITraitCollection[src]

impl NSObject_NSCopyLinkMoveHandler for UITraitCollection[src]

impl NSObject_NSDelayedPerforming for UITraitCollection[src]

impl NSObject_NSDiscardableContentProxy for UITraitCollection[src]

impl NSObject_NSErrorRecoveryAttempting for UITraitCollection[src]

impl NSObject_NSKeyValueCoding for UITraitCollection[src]

impl NSObject_NSKeyValueObserverNotification for UITraitCollection[src]

impl NSObject_NSKeyValueObserverRegistration for UITraitCollection[src]

impl NSObject_NSKeyValueObserving for UITraitCollection[src]

impl NSObject_NSKeyValueObservingCustomization for UITraitCollection[src]

impl NSObject_NSKeyedArchiverObjectSubstitution for UITraitCollection[src]

impl NSObject_NSKeyedUnarchiverObjectSubstitution for UITraitCollection[src]

impl NSObject_NSThreadPerformAdditions for UITraitCollection[src]

impl NSObject_UIAccessibility for UITraitCollection[src]

impl NSObject_UIAccessibilityAction for UITraitCollection[src]

impl NSObject_UIAccessibilityContainer for UITraitCollection[src]

impl NSObject_UIAccessibilityCustomRotor for UITraitCollection[src]

impl NSObject_UIAccessibilityDragging for UITraitCollection[src]

impl NSObject_UIAccessibilityFocus for UITraitCollection[src]

impl NSObject_UINibLoadingAdditions for UITraitCollection[src]

impl PNSCopying for UITraitCollection[src]

impl PNSSecureCoding for UITraitCollection[src]

impl UITraitCollection_CurrentTraitCollection for UITraitCollection[src]

impl UITraitCollection_DynamicAppearance for UITraitCollection[src]

impl UITraitCollection_ImageConfiguration for UITraitCollection[src]

Auto Trait Implementations

impl RefUnwindSafe for UITraitCollection

impl !Send for UITraitCollection

impl !Sync for UITraitCollection

impl Unpin for UITraitCollection

impl UnwindSafe for UITraitCollection

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.