[][src]Struct uikit_sys::UISwitch

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

Implementations

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

impl Copy for UISwitch[src]

impl Deref for UISwitch[src]

type Target = Object

The resulting type after dereferencing.

impl INSObject for UISwitch[src]

impl IUIControl for UISwitch[src]

impl IUIResponder for UISwitch[src]

impl IUISwitch for UISwitch[src]

impl IUIView for UISwitch[src]

impl Message for UISwitch[src]

impl NSObject_CIImageProvider for UISwitch[src]

impl NSObject_NSCoderMethods for UISwitch[src]

impl NSObject_NSCopyLinkMoveHandler for UISwitch[src]

impl NSObject_NSDelayedPerforming for UISwitch[src]

impl NSObject_NSDiscardableContentProxy for UISwitch[src]

impl NSObject_NSErrorRecoveryAttempting for UISwitch[src]

impl NSObject_NSKeyValueCoding for UISwitch[src]

impl NSObject_NSKeyValueObserverNotification for UISwitch[src]

impl NSObject_NSKeyValueObserverRegistration for UISwitch[src]

impl NSObject_NSKeyValueObserving for UISwitch[src]

impl NSObject_NSKeyValueObservingCustomization for UISwitch[src]

impl NSObject_NSKeyedArchiverObjectSubstitution for UISwitch[src]

impl NSObject_NSKeyedUnarchiverObjectSubstitution for UISwitch[src]

impl NSObject_NSThreadPerformAdditions for UISwitch[src]

impl NSObject_UIAccessibility for UISwitch[src]

impl NSObject_UIAccessibilityAction for UISwitch[src]

impl NSObject_UIAccessibilityContainer for UISwitch[src]

impl NSObject_UIAccessibilityCustomRotor for UISwitch[src]

impl NSObject_UIAccessibilityDragging for UISwitch[src]

impl NSObject_UIAccessibilityFocus for UISwitch[src]

impl NSObject_UINibLoadingAdditions for UISwitch[src]

impl PNSCoding for UISwitch[src]

impl UIResponder_ActivityContinuation for UISwitch[src]

impl UIResponder_UIActivityItemsConfiguration for UISwitch[src]

impl UIResponder_UIPasteConfigurationSupporting for UISwitch[src]

impl UIResponder_UIResponderInputViewAdditions for UISwitch[src]

impl UIResponder_UIResponderKeyCommands for UISwitch[src]

impl UIView_DeprecatedAnimations for UISwitch[src]

impl UIView_Interactions for UISwitch[src]

impl UIView_UIAccessibility for UISwitch[src]

impl UIView_UIAccessibilityInvertColors for UISwitch[src]

impl UIView_UIConstraintBasedCompatibility for UISwitch[src]

impl UIView_UIConstraintBasedLayoutCoreMethods for UISwitch[src]

impl UIView_UIConstraintBasedLayoutDebugging for UISwitch[src]

impl UIView_UIConstraintBasedLayoutFittingSize for UISwitch[src]

impl UIView_UIConstraintBasedLayoutInstallingConstraints for UISwitch[src]

impl UIView_UIConstraintBasedLayoutLayering for UISwitch[src]

impl UIView_UILargeContentViewer for UISwitch[src]

impl UIView_UILayoutGuideSupport for UISwitch[src]

impl UIView_UIPrintFormatter for UISwitch[src]

impl UIView_UISnapshotting for UISwitch[src]

impl UIView_UIStateRestoration for UISwitch[src]

impl UIView_UITextField for UISwitch[src]

impl UIView_UIViewAnimation for UISwitch[src]

impl UIView_UIViewAnimationWithBlocks for UISwitch[src]

impl UIView_UIViewGeometry for UISwitch[src]

impl UIView_UIViewGestureRecognizers for UISwitch[src]

impl UIView_UIViewHierarchy for UISwitch[src]

impl UIView_UIViewKeyframeAnimations for UISwitch[src]

impl UIView_UIViewLayoutConstraintCreation for UISwitch[src]

impl UIView_UIViewMotionEffects for UISwitch[src]

impl UIView_UIViewRendering for UISwitch[src]

impl UIView_UserInterfaceStyle for UISwitch[src]

Auto Trait Implementations

impl RefUnwindSafe for UISwitch

impl !Send for UISwitch

impl !Sync for UISwitch

impl Unpin for UISwitch

impl UnwindSafe for UISwitch

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.