Struct objc2_ui_kit::UIView

source ·
#[repr(C)]
pub struct UIView { /* private fields */ }
Available on crate features UIResponder and UIView only.

Implementations§

source§

impl UIView

UIAccessibilityInvertColors

source

pub unsafe fn accessibilityIgnoresInvertColors(&self) -> bool

Available on crate feature UIAccessibilityAdditions only.
source

pub unsafe fn setAccessibilityIgnoresInvertColors( &self, accessibility_ignores_invert_colors: bool )

Available on crate feature UIAccessibilityAdditions only.
source§

impl UIView

This impl block contains no items.

UIAccessibility

source§

impl UIView

UIHoverStyle

source

pub unsafe fn hoverStyle(&self) -> Option<Retained<UIHoverStyle>>

Available on crate feature UIHoverStyle only.
source

pub unsafe fn setHoverStyle(&self, hover_style: Option<&UIHoverStyle>)

Available on crate feature UIHoverStyle only.
source§

impl UIView

Interactions

source

pub unsafe fn addInteraction( &self, interaction: &ProtocolObject<dyn UIInteraction> )

Available on crate feature UIInteraction only.
source

pub unsafe fn removeInteraction( &self, interaction: &ProtocolObject<dyn UIInteraction> )

Available on crate feature UIInteraction only.
source

pub unsafe fn interactions( &self ) -> Retained<NSArray<ProtocolObject<dyn UIInteraction>>>

Available on crate feature UIInteraction only.
source

pub unsafe fn setInteractions( &self, interactions: &NSArray<ProtocolObject<dyn UIInteraction>> )

Available on crate feature UIInteraction only.
source§

impl UIView

UILargeContentViewer

source

pub unsafe fn showsLargeContentViewer(&self) -> bool

Available on crate feature UILargeContentViewer only.
source

pub unsafe fn setShowsLargeContentViewer( &self, shows_large_content_viewer: bool )

Available on crate feature UILargeContentViewer only.
source

pub unsafe fn largeContentTitle(&self) -> Option<Retained<NSString>>

Available on crate feature UILargeContentViewer only.
source

pub unsafe fn setLargeContentTitle( &self, large_content_title: Option<&NSString> )

Available on crate feature UILargeContentViewer only.
source

pub unsafe fn largeContentImage(&self) -> Option<Retained<UIImage>>

Available on crate features UILargeContentViewer and UIImage only.
source

pub unsafe fn setLargeContentImage(&self, large_content_image: Option<&UIImage>)

Available on crate features UILargeContentViewer and UIImage only.
source

pub unsafe fn scalesLargeContentImage(&self) -> bool

Available on crate feature UILargeContentViewer only.
source

pub unsafe fn setScalesLargeContentImage( &self, scales_large_content_image: bool )

Available on crate feature UILargeContentViewer only.
source

pub unsafe fn largeContentImageInsets(&self) -> UIEdgeInsets

Available on crate features UILargeContentViewer and UIGeometry only.
source

pub unsafe fn setLargeContentImageInsets( &self, large_content_image_insets: UIEdgeInsets )

Available on crate features UILargeContentViewer and UIGeometry only.
source§

impl UIView

This impl block contains no items.

UIPopoverPresentationControllerSourceItem

source§

impl UIView

UIPrintFormatter

source

pub unsafe fn viewPrintFormatter(&self) -> Retained<UIViewPrintFormatter>

Available on crate feature UIPrintFormatter only.
source

pub unsafe fn drawRect_forViewPrintFormatter( &self, rect: CGRect, formatter: &UIViewPrintFormatter )

Available on crate feature UIPrintFormatter only.
source§

impl UIView

UITextField

source

pub unsafe fn endEditing(&self, force: bool) -> bool

Available on crate feature UITextField only.
source§

impl UIView

source

pub fn layerClass(mtm: MainThreadMarker) -> &'static AnyClass

source

pub fn initWithFrame(this: Allocated<Self>, frame: CGRect) -> Retained<Self>

source

pub unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder ) -> Option<Retained<Self>>

source

pub unsafe fn isUserInteractionEnabled(&self) -> bool

source

pub unsafe fn setUserInteractionEnabled(&self, user_interaction_enabled: bool)

source

pub unsafe fn tag(&self) -> NSInteger

source

pub unsafe fn setTag(&self, tag: NSInteger)

source

pub fn layer(&self) -> Retained<CALayer>

Available on crate feature objc2-quartz-core and non-watchOS only.
source

pub unsafe fn canBecomeFocused(&self) -> bool

source

pub unsafe fn isFocused(&self) -> bool

source

pub unsafe fn focusGroupIdentifier(&self) -> Option<Retained<NSString>>

source

pub unsafe fn setFocusGroupIdentifier( &self, focus_group_identifier: Option<&NSString> )

source

pub unsafe fn focusGroupPriority(&self) -> UIFocusGroupPriority

Available on crate feature UIFocus only.
source

pub unsafe fn setFocusGroupPriority( &self, focus_group_priority: UIFocusGroupPriority )

Available on crate feature UIFocus only.
source

pub unsafe fn focusEffect(&self) -> Option<Retained<UIFocusEffect>>

Available on crate feature UIFocusEffect only.
source

pub unsafe fn setFocusEffect(&self, focus_effect: Option<&UIFocusEffect>)

Available on crate feature UIFocusEffect only.
source

pub unsafe fn semanticContentAttribute(&self) -> UISemanticContentAttribute

source

pub unsafe fn setSemanticContentAttribute( &self, semantic_content_attribute: UISemanticContentAttribute )

source

pub unsafe fn userInterfaceLayoutDirectionForSemanticContentAttribute( attribute: UISemanticContentAttribute, mtm: MainThreadMarker ) -> UIUserInterfaceLayoutDirection

Available on crate feature UIInterface only.
source

pub unsafe fn userInterfaceLayoutDirectionForSemanticContentAttribute_relativeToLayoutDirection( semantic_content_attribute: UISemanticContentAttribute, layout_direction: UIUserInterfaceLayoutDirection, mtm: MainThreadMarker ) -> UIUserInterfaceLayoutDirection

Available on crate feature UIInterface only.
source

pub unsafe fn effectiveUserInterfaceLayoutDirection( &self ) -> UIUserInterfaceLayoutDirection

Available on crate feature UIInterface only.
source§

impl UIView

Methods declared on superclass NSObject

source

pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>

source

pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>

source§

impl UIView

UIViewGeometry

source

pub fn frame(&self) -> CGRect

source

pub fn setFrame(&self, frame: CGRect)

source

pub fn bounds(&self) -> CGRect

source

pub fn setBounds(&self, bounds: CGRect)

source

pub unsafe fn center(&self) -> CGPoint

source

pub unsafe fn setCenter(&self, center: CGPoint)

source

pub unsafe fn transform3D(&self) -> CATransform3D

Available on crate feature objc2-quartz-core and non-watchOS only.
source

pub unsafe fn setTransform3D(&self, transform3_d: CATransform3D)

Available on crate feature objc2-quartz-core and non-watchOS only.
source

pub fn contentScaleFactor(&self) -> CGFloat

source

pub fn setContentScaleFactor(&self, content_scale_factor: CGFloat)

source

pub unsafe fn anchorPoint(&self) -> CGPoint

source

pub unsafe fn setAnchorPoint(&self, anchor_point: CGPoint)

source

pub unsafe fn isMultipleTouchEnabled(&self) -> bool

source

pub fn setMultipleTouchEnabled(&self, multiple_touch_enabled: bool)

source

pub unsafe fn isExclusiveTouch(&self) -> bool

source

pub unsafe fn setExclusiveTouch(&self, exclusive_touch: bool)

source

pub unsafe fn hitTest_withEvent( &self, point: CGPoint, event: Option<&UIEvent> ) -> Option<Retained<UIView>>

Available on crate feature UIEvent only.
source

pub unsafe fn pointInside_withEvent( &self, point: CGPoint, event: Option<&UIEvent> ) -> bool

Available on crate feature UIEvent only.
source

pub unsafe fn convertPoint_toView( &self, point: CGPoint, view: Option<&UIView> ) -> CGPoint

source

pub unsafe fn convertPoint_fromView( &self, point: CGPoint, view: Option<&UIView> ) -> CGPoint

source

pub unsafe fn convertRect_toView( &self, rect: CGRect, view: Option<&UIView> ) -> CGRect

source

pub unsafe fn convertRect_fromView( &self, rect: CGRect, view: Option<&UIView> ) -> CGRect

source

pub unsafe fn autoresizesSubviews(&self) -> bool

source

pub unsafe fn setAutoresizesSubviews(&self, autoresizes_subviews: bool)

source

pub unsafe fn autoresizingMask(&self) -> UIViewAutoresizing

source

pub unsafe fn setAutoresizingMask(&self, autoresizing_mask: UIViewAutoresizing)

source

pub unsafe fn sizeThatFits(&self, size: CGSize) -> CGSize

source

pub unsafe fn sizeToFit(&self)

source§

impl UIView

UIViewHierarchy

source

pub fn superview(&self) -> Option<Retained<UIView>>

source

pub fn subviews(&self) -> Retained<NSArray<UIView>>

source

pub fn window(&self) -> Option<Retained<UIWindow>>

Available on crate feature UIWindow only.
source

pub unsafe fn removeFromSuperview(&self)

source

pub unsafe fn insertSubview_atIndex(&self, view: &UIView, index: NSInteger)

source

pub unsafe fn exchangeSubviewAtIndex_withSubviewAtIndex( &self, index1: NSInteger, index2: NSInteger )

source

pub unsafe fn addSubview(&self, view: &UIView)

source

pub unsafe fn insertSubview_belowSubview( &self, view: &UIView, sibling_subview: &UIView )

source

pub unsafe fn insertSubview_aboveSubview( &self, view: &UIView, sibling_subview: &UIView )

source

pub unsafe fn bringSubviewToFront(&self, view: &UIView)

source

pub unsafe fn sendSubviewToBack(&self, view: &UIView)

source

pub unsafe fn didAddSubview(&self, subview: &UIView)

source

pub unsafe fn willRemoveSubview(&self, subview: &UIView)

source

pub unsafe fn willMoveToSuperview(&self, new_superview: Option<&UIView>)

source

pub unsafe fn didMoveToSuperview(&self)

source

pub unsafe fn willMoveToWindow(&self, new_window: Option<&UIWindow>)

Available on crate feature UIWindow only.
source

pub unsafe fn didMoveToWindow(&self)

source

pub unsafe fn isDescendantOfView(&self, view: &UIView) -> bool

source

pub unsafe fn viewWithTag(&self, tag: NSInteger) -> Option<Retained<UIView>>

source

pub unsafe fn setNeedsLayout(&self)

source

pub unsafe fn layoutIfNeeded(&self)

source

pub unsafe fn layoutSubviews(&self)

source

pub unsafe fn layoutMargins(&self) -> UIEdgeInsets

Available on crate feature UIGeometry only.
source

pub unsafe fn setLayoutMargins(&self, layout_margins: UIEdgeInsets)

Available on crate feature UIGeometry only.
source

pub unsafe fn directionalLayoutMargins(&self) -> NSDirectionalEdgeInsets

Available on crate feature UIGeometry only.
source

pub unsafe fn setDirectionalLayoutMargins( &self, directional_layout_margins: NSDirectionalEdgeInsets )

Available on crate feature UIGeometry only.
source

pub unsafe fn preservesSuperviewLayoutMargins(&self) -> bool

source

pub unsafe fn setPreservesSuperviewLayoutMargins( &self, preserves_superview_layout_margins: bool )

source

pub unsafe fn insetsLayoutMarginsFromSafeArea(&self) -> bool

source

pub unsafe fn setInsetsLayoutMarginsFromSafeArea( &self, insets_layout_margins_from_safe_area: bool )

source

pub unsafe fn layoutMarginsDidChange(&self)

source

pub fn safeAreaInsets(&self) -> UIEdgeInsets

Available on crate feature UIGeometry only.
source

pub unsafe fn safeAreaInsetsDidChange(&self)

source

pub unsafe fn layoutMarginsGuide(&self) -> Retained<UILayoutGuide>

Available on crate feature UILayoutGuide only.
source

pub unsafe fn readableContentGuide(&self) -> Retained<UILayoutGuide>

Available on crate feature UILayoutGuide only.
source

pub unsafe fn safeAreaLayoutGuide(&self) -> Retained<UILayoutGuide>

Available on crate feature UILayoutGuide only.
source

pub unsafe fn keyboardLayoutGuide(&self) -> Retained<UIKeyboardLayoutGuide>

Available on crate features UIKeyboardLayoutGuide and UILayoutGuide and UITrackingLayoutGuide only.
source§

impl UIView

UIViewRendering

source

pub unsafe fn drawRect(&self, rect: CGRect)

source

pub fn setNeedsDisplay(&self)

source

pub unsafe fn setNeedsDisplayInRect(&self, rect: CGRect)

source

pub unsafe fn clipsToBounds(&self) -> bool

source

pub unsafe fn setClipsToBounds(&self, clips_to_bounds: bool)

source

pub fn backgroundColor(&self) -> Option<Retained<UIColor>>

Available on crate feature UIColor only.
source

pub fn setBackgroundColor(&self, background_color: Option<&UIColor>)

Available on crate feature UIColor only.
source

pub unsafe fn alpha(&self) -> CGFloat

source

pub unsafe fn setAlpha(&self, alpha: CGFloat)

source

pub unsafe fn isOpaque(&self) -> bool

source

pub unsafe fn setOpaque(&self, opaque: bool)

source

pub unsafe fn clearsContextBeforeDrawing(&self) -> bool

source

pub unsafe fn setClearsContextBeforeDrawing( &self, clears_context_before_drawing: bool )

source

pub fn isHidden(&self) -> bool

source

pub fn setHidden(&self, hidden: bool)

source

pub unsafe fn contentMode(&self) -> UIViewContentMode

source

pub unsafe fn setContentMode(&self, content_mode: UIViewContentMode)

source

pub unsafe fn contentStretch(&self) -> CGRect

👎Deprecated
source

pub unsafe fn setContentStretch(&self, content_stretch: CGRect)

👎Deprecated
source

pub unsafe fn maskView(&self) -> Option<Retained<UIView>>

source

pub unsafe fn setMaskView(&self, mask_view: Option<&UIView>)

source

pub unsafe fn tintColor(&self) -> Option<Retained<UIColor>>

Available on crate feature UIColor only.
source

pub unsafe fn setTintColor(&self, tint_color: Option<&UIColor>)

Available on crate feature UIColor only.
source

pub unsafe fn tintAdjustmentMode(&self) -> UIViewTintAdjustmentMode

source

pub unsafe fn setTintAdjustmentMode( &self, tint_adjustment_mode: UIViewTintAdjustmentMode )

source

pub unsafe fn tintColorDidChange(&self)

source§

impl UIView

UIViewAnimation

source

pub unsafe fn setAnimationsEnabled(enabled: bool, mtm: MainThreadMarker)

source

pub unsafe fn areAnimationsEnabled(mtm: MainThreadMarker) -> bool

source

pub unsafe fn performWithoutAnimation( actions_without_animation: &Block<dyn Fn() + '_>, mtm: MainThreadMarker )

Available on crate feature block2 only.
source

pub unsafe fn inheritedAnimationDuration( mtm: MainThreadMarker ) -> NSTimeInterval

source§

impl UIView

UIViewAnimationWithBlocks

source

pub unsafe fn animateWithDuration_delay_options_animations_completion( duration: NSTimeInterval, delay: NSTimeInterval, options: UIViewAnimationOptions, animations: &Block<dyn Fn()>, completion: Option<&Block<dyn Fn(Bool)>>, mtm: MainThreadMarker )

Available on crate feature block2 only.
source

pub unsafe fn animateWithDuration_animations_completion( duration: NSTimeInterval, animations: &Block<dyn Fn()>, completion: Option<&Block<dyn Fn(Bool)>>, mtm: MainThreadMarker )

Available on crate feature block2 only.
source

pub unsafe fn animateWithDuration_animations( duration: NSTimeInterval, animations: &Block<dyn Fn()>, mtm: MainThreadMarker )

Available on crate feature block2 only.
source

pub unsafe fn animateWithSpringDuration_bounce_initialSpringVelocity_delay_options_animations_completion( duration: NSTimeInterval, bounce: CGFloat, velocity: CGFloat, delay: NSTimeInterval, options: UIViewAnimationOptions, animations: &Block<dyn Fn() + '_>, completion: Option<&Block<dyn Fn(Bool)>>, mtm: MainThreadMarker )

Available on crate feature block2 only.
source

pub unsafe fn animateWithDuration_delay_usingSpringWithDamping_initialSpringVelocity_options_animations_completion( duration: NSTimeInterval, delay: NSTimeInterval, damping_ratio: CGFloat, velocity: CGFloat, options: UIViewAnimationOptions, animations: &Block<dyn Fn()>, completion: Option<&Block<dyn Fn(Bool)>>, mtm: MainThreadMarker )

Available on crate feature block2 only.
source

pub unsafe fn transitionWithView_duration_options_animations_completion( view: &UIView, duration: NSTimeInterval, options: UIViewAnimationOptions, animations: Option<&Block<dyn Fn()>>, completion: Option<&Block<dyn Fn(Bool)>> )

Available on crate feature block2 only.
source

pub unsafe fn transitionFromView_toView_duration_options_completion( from_view: &UIView, to_view: &UIView, duration: NSTimeInterval, options: UIViewAnimationOptions, completion: Option<&Block<dyn Fn(Bool)>> )

Available on crate feature block2 only.
source

pub unsafe fn performSystemAnimation_onViews_options_animations_completion( animation: UISystemAnimation, views: &NSArray<UIView>, options: UIViewAnimationOptions, parallel_animations: Option<&Block<dyn Fn()>>, completion: Option<&Block<dyn Fn(Bool)>>, mtm: MainThreadMarker )

Available on crate feature block2 only.
source

pub unsafe fn modifyAnimationsWithRepeatCount_autoreverses_animations( count: CGFloat, autoreverses: bool, animations: &Block<dyn Fn() + '_>, mtm: MainThreadMarker )

Available on crate feature block2 only.
source§

impl UIView

UIViewKeyframeAnimations

source

pub unsafe fn animateKeyframesWithDuration_delay_options_animations_completion( duration: NSTimeInterval, delay: NSTimeInterval, options: UIViewKeyframeAnimationOptions, animations: &Block<dyn Fn()>, completion: Option<&Block<dyn Fn(Bool)>>, mtm: MainThreadMarker )

Available on crate feature block2 only.
source

pub unsafe fn addKeyframeWithRelativeStartTime_relativeDuration_animations( frame_start_time: c_double, frame_duration: c_double, animations: &Block<dyn Fn()>, mtm: MainThreadMarker )

Available on crate feature block2 only.
source§

impl UIView

UIViewGestureRecognizers

source

pub fn gestureRecognizers( &self ) -> Option<Retained<NSArray<UIGestureRecognizer>>>

Available on crate feature UIGestureRecognizer only.
source

pub unsafe fn setGestureRecognizers( &self, gesture_recognizers: Option<&NSArray<UIGestureRecognizer>> )

Available on crate feature UIGestureRecognizer only.
source

pub fn addGestureRecognizer(&self, gesture_recognizer: &UIGestureRecognizer)

Available on crate feature UIGestureRecognizer only.
source

pub fn removeGestureRecognizer(&self, gesture_recognizer: &UIGestureRecognizer)

Available on crate feature UIGestureRecognizer only.
source

pub fn gestureRecognizerShouldBegin( &self, gesture_recognizer: &UIGestureRecognizer ) -> bool

Available on crate feature UIGestureRecognizer only.
source§

impl UIView

UIViewMotionEffects

source

pub unsafe fn addMotionEffect(&self, effect: &UIMotionEffect)

Available on crate feature UIMotionEffect only.
source

pub unsafe fn removeMotionEffect(&self, effect: &UIMotionEffect)

Available on crate feature UIMotionEffect only.
source

pub unsafe fn motionEffects(&self) -> Retained<NSArray<UIMotionEffect>>

Available on crate feature UIMotionEffect only.
source

pub unsafe fn setMotionEffects(&self, motion_effects: &NSArray<UIMotionEffect>)

Available on crate feature UIMotionEffect only.
source§

impl UIView

UIConstraintBasedLayoutInstallingConstraints

source

pub unsafe fn constraints(&self) -> Retained<NSArray<NSLayoutConstraint>>

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn addConstraint(&self, constraint: &NSLayoutConstraint)

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn addConstraints(&self, constraints: &NSArray<NSLayoutConstraint>)

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn removeConstraint(&self, constraint: &NSLayoutConstraint)

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn removeConstraints( &self, constraints: &NSArray<NSLayoutConstraint> )

Available on crate feature NSLayoutConstraint only.
source§

impl UIView

UIConstraintBasedLayoutCoreMethods

source

pub unsafe fn updateConstraintsIfNeeded(&self)

source

pub unsafe fn updateConstraints(&self)

source

pub unsafe fn needsUpdateConstraints(&self) -> bool

source

pub unsafe fn setNeedsUpdateConstraints(&self)

source§

impl UIView

UIConstraintBasedCompatibility

source

pub unsafe fn translatesAutoresizingMaskIntoConstraints(&self) -> bool

source

pub unsafe fn setTranslatesAutoresizingMaskIntoConstraints( &self, translates_autoresizing_mask_into_constraints: bool )

source

pub unsafe fn requiresConstraintBasedLayout(mtm: MainThreadMarker) -> bool

source§

impl UIView

UIConstraintBasedLayoutLayering

source

pub unsafe fn alignmentRectForFrame(&self, frame: CGRect) -> CGRect

source

pub unsafe fn frameForAlignmentRect(&self, alignment_rect: CGRect) -> CGRect

source

pub unsafe fn alignmentRectInsets(&self) -> UIEdgeInsets

Available on crate feature UIGeometry only.
source

pub unsafe fn viewForBaselineLayout(&self) -> Retained<UIView>

👎Deprecated: Override -viewForFirstBaselineLayout or -viewForLastBaselineLayout as appropriate, instead
source

pub unsafe fn viewForFirstBaselineLayout(&self) -> Retained<UIView>

source

pub unsafe fn viewForLastBaselineLayout(&self) -> Retained<UIView>

source

pub unsafe fn intrinsicContentSize(&self) -> CGSize

source

pub unsafe fn invalidateIntrinsicContentSize(&self)

source

pub unsafe fn contentHuggingPriorityForAxis( &self, axis: UILayoutConstraintAxis ) -> UILayoutPriority

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn setContentHuggingPriority_forAxis( &self, priority: UILayoutPriority, axis: UILayoutConstraintAxis )

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn contentCompressionResistancePriorityForAxis( &self, axis: UILayoutConstraintAxis ) -> UILayoutPriority

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn setContentCompressionResistancePriority_forAxis( &self, priority: UILayoutPriority, axis: UILayoutConstraintAxis )

Available on crate feature NSLayoutConstraint only.
source§

impl UIView

UIConstraintBasedLayoutFittingSize

source

pub unsafe fn systemLayoutSizeFittingSize(&self, target_size: CGSize) -> CGSize

source

pub unsafe fn systemLayoutSizeFittingSize_withHorizontalFittingPriority_verticalFittingPriority( &self, target_size: CGSize, horizontal_fitting_priority: UILayoutPriority, vertical_fitting_priority: UILayoutPriority ) -> CGSize

Available on crate feature NSLayoutConstraint only.
source§

impl UIView

UILayoutGuideSupport

source

pub unsafe fn layoutGuides(&self) -> Retained<NSArray<UILayoutGuide>>

Available on crate feature UILayoutGuide only.
source

pub unsafe fn addLayoutGuide(&self, layout_guide: &UILayoutGuide)

Available on crate feature UILayoutGuide only.
source

pub unsafe fn removeLayoutGuide(&self, layout_guide: &UILayoutGuide)

Available on crate feature UILayoutGuide only.
source§

impl UIView

UIViewLayoutConstraintCreation

source

pub unsafe fn leadingAnchor(&self) -> Retained<NSLayoutXAxisAnchor>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn trailingAnchor(&self) -> Retained<NSLayoutXAxisAnchor>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn leftAnchor(&self) -> Retained<NSLayoutXAxisAnchor>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn rightAnchor(&self) -> Retained<NSLayoutXAxisAnchor>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn topAnchor(&self) -> Retained<NSLayoutYAxisAnchor>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn bottomAnchor(&self) -> Retained<NSLayoutYAxisAnchor>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn widthAnchor(&self) -> Retained<NSLayoutDimension>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn heightAnchor(&self) -> Retained<NSLayoutDimension>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn centerXAnchor(&self) -> Retained<NSLayoutXAxisAnchor>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn centerYAnchor(&self) -> Retained<NSLayoutYAxisAnchor>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn firstBaselineAnchor(&self) -> Retained<NSLayoutYAxisAnchor>

Available on crate feature NSLayoutAnchor only.
source

pub unsafe fn lastBaselineAnchor(&self) -> Retained<NSLayoutYAxisAnchor>

Available on crate feature NSLayoutAnchor only.
source§

impl UIView

UIConstraintBasedLayoutDebugging

source

pub unsafe fn constraintsAffectingLayoutForAxis( &self, axis: UILayoutConstraintAxis ) -> Retained<NSArray<NSLayoutConstraint>>

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn hasAmbiguousLayout(&self) -> bool

source

pub unsafe fn exerciseAmbiguityInLayout(&self)

source§

impl UIView

UIStateRestoration

source

pub unsafe fn restorationIdentifier(&self) -> Option<Retained<NSString>>

source

pub unsafe fn setRestorationIdentifier( &self, restoration_identifier: Option<&NSString> )

source

pub unsafe fn encodeRestorableStateWithCoder(&self, coder: &NSCoder)

source

pub unsafe fn decodeRestorableStateWithCoder(&self, coder: &NSCoder)

source§

impl UIView

UISnapshotting

source

pub unsafe fn snapshotViewAfterScreenUpdates( &self, after_updates: bool ) -> Option<Retained<UIView>>

source

pub unsafe fn resizableSnapshotViewFromRect_afterScreenUpdates_withCapInsets( &self, rect: CGRect, after_updates: bool, cap_insets: UIEdgeInsets ) -> Option<Retained<UIView>>

Available on crate feature UIGeometry only.
source

pub unsafe fn drawViewHierarchyInRect_afterScreenUpdates( &self, rect: CGRect, after_updates: bool ) -> bool

source§

impl UIView

DeprecatedAnimations

source

pub unsafe fn beginAnimations_context( animation_id: Option<&NSString>, context: *mut c_void, mtm: MainThreadMarker )

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn commitAnimations(mtm: MainThreadMarker)

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationDelegate( delegate: Option<&AnyObject>, mtm: MainThreadMarker )

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationWillStartSelector( selector: Option<Sel>, mtm: MainThreadMarker )

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationDidStopSelector( selector: Option<Sel>, mtm: MainThreadMarker )

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationDuration( duration: NSTimeInterval, mtm: MainThreadMarker )

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationDelay(delay: NSTimeInterval, mtm: MainThreadMarker)

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationStartDate(start_date: &NSDate, mtm: MainThreadMarker)

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationCurve( curve: UIViewAnimationCurve, mtm: MainThreadMarker )

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationRepeatCount( repeat_count: c_float, mtm: MainThreadMarker )

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationRepeatAutoreverses( repeat_autoreverses: bool, mtm: MainThreadMarker )

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationBeginsFromCurrentState( from_current_state: bool, mtm: MainThreadMarker )

👎Deprecated: Use the block-based animation API instead
source

pub unsafe fn setAnimationTransition_forView_cache( transition: UIViewAnimationTransition, view: &UIView, cache: bool )

👎Deprecated: Use the block-based animation API instead
source§

impl UIView

UserInterfaceStyle

source

pub unsafe fn overrideUserInterfaceStyle(&self) -> UIUserInterfaceStyle

Available on crate feature UIInterface only.
source

pub unsafe fn setOverrideUserInterfaceStyle( &self, override_user_interface_style: UIUserInterfaceStyle )

Available on crate feature UIInterface only.
source§

impl UIView

UIContentSizeCategoryLimit

source

pub unsafe fn minimumContentSizeCategory( &self ) -> Option<Retained<UIContentSizeCategory>>

Available on crate feature UIContentSizeCategory only.
source

pub unsafe fn setMinimumContentSizeCategory( &self, minimum_content_size_category: Option<&UIContentSizeCategory> )

Available on crate feature UIContentSizeCategory only.
source

pub unsafe fn maximumContentSizeCategory( &self ) -> Option<Retained<UIContentSizeCategory>>

Available on crate feature UIContentSizeCategory only.
source

pub unsafe fn setMaximumContentSizeCategory( &self, maximum_content_size_category: Option<&UIContentSizeCategory> )

Available on crate feature UIContentSizeCategory only.
source

pub unsafe fn appliedContentSizeCategoryLimitsDescription( &self ) -> Retained<NSString>

source§

impl UIView

source

pub unsafe fn traitOverrides( &self ) -> Retained<ProtocolObject<dyn UITraitOverrides>>

Available on crate feature UITraitCollection only.
source

pub unsafe fn updateTraitsIfNeeded(&self)

Methods from Deref<Target = UIResponder>§

source

pub unsafe fn nextResponder(&self) -> Option<Retained<UIResponder>>

source

pub unsafe fn canBecomeFirstResponder(&self) -> bool

source

pub unsafe fn becomeFirstResponder(&self) -> bool

source

pub unsafe fn canResignFirstResponder(&self) -> bool

source

pub unsafe fn resignFirstResponder(&self) -> bool

source

pub unsafe fn isFirstResponder(&self) -> bool

source

pub unsafe fn touchesBegan_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )

Available on crate features UIEvent and UITouch only.
source

pub unsafe fn touchesMoved_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )

Available on crate features UIEvent and UITouch only.
source

pub unsafe fn touchesEnded_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )

Available on crate features UIEvent and UITouch only.
source

pub unsafe fn touchesCancelled_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )

Available on crate features UIEvent and UITouch only.
source

pub unsafe fn touchesEstimatedPropertiesUpdated(&self, touches: &NSSet<UITouch>)

Available on crate feature UITouch only.
source

pub unsafe fn pressesBegan_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )

Available on crate features UIEvent and UIPress and UIPressesEvent only.
source

pub unsafe fn pressesChanged_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )

Available on crate features UIEvent and UIPress and UIPressesEvent only.
source

pub unsafe fn pressesEnded_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )

Available on crate features UIEvent and UIPress and UIPressesEvent only.
source

pub unsafe fn pressesCancelled_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )

Available on crate features UIEvent and UIPress and UIPressesEvent only.
source

pub unsafe fn motionBegan_withEvent( &self, motion: UIEventSubtype, event: Option<&UIEvent> )

Available on crate feature UIEvent only.
source

pub unsafe fn motionEnded_withEvent( &self, motion: UIEventSubtype, event: Option<&UIEvent> )

Available on crate feature UIEvent only.
source

pub unsafe fn motionCancelled_withEvent( &self, motion: UIEventSubtype, event: Option<&UIEvent> )

Available on crate feature UIEvent only.
source

pub unsafe fn remoteControlReceivedWithEvent(&self, event: Option<&UIEvent>)

Available on crate feature UIEvent only.
source

pub unsafe fn canPerformAction_withSender( &self, action: Sel, sender: Option<&AnyObject> ) -> bool

source

pub unsafe fn targetForAction_withSender( &self, action: Sel, sender: Option<&AnyObject> ) -> Option<Retained<AnyObject>>

source

pub unsafe fn buildMenuWithBuilder( &self, builder: &ProtocolObject<dyn UIMenuBuilder> )

Available on crate feature UIMenuBuilder only.
source

pub unsafe fn validateCommand(&self, command: &UICommand)

Available on crate features UICommand and UIMenuElement only.
source

pub unsafe fn undoManager(&self) -> Option<Retained<NSUndoManager>>

source

pub unsafe fn editingInteractionConfiguration( &self ) -> UIEditingInteractionConfiguration

source

pub unsafe fn keyCommands(&self) -> Option<Retained<NSArray<UIKeyCommand>>>

Available on crate features UICommand and UIKeyCommand and UIMenuElement only.
source

pub unsafe fn inputView(&self) -> Option<Retained<UIView>>

source

pub unsafe fn inputAccessoryView(&self) -> Option<Retained<UIView>>

source

pub unsafe fn inputAssistantItem(&self) -> Retained<UITextInputAssistantItem>

Available on crate feature UITextInput only.
source

pub unsafe fn inputViewController( &self ) -> Option<Retained<UIInputViewController>>

Available on crate features UIInputViewController and UIViewController only.
source

pub unsafe fn inputAccessoryViewController( &self ) -> Option<Retained<UIInputViewController>>

Available on crate features UIInputViewController and UIViewController only.
source

pub unsafe fn textInputMode(&self) -> Option<Retained<UITextInputMode>>

Available on crate feature UITextInput only.
source

pub unsafe fn textInputContextIdentifier(&self) -> Option<Retained<NSString>>

source

pub unsafe fn reloadInputViews(&self)

source

pub unsafe fn userActivity(&self) -> Option<Retained<NSUserActivity>>

source

pub unsafe fn setUserActivity(&self, user_activity: Option<&NSUserActivity>)

source

pub unsafe fn updateUserActivityState(&self, activity: &NSUserActivity)

source

pub unsafe fn restoreUserActivityState(&self, activity: &NSUserActivity)

source

pub unsafe fn captureTextFromCamera(&self, sender: Option<&AnyObject>)

source

pub unsafe fn activityItemsConfiguration( &self ) -> Option<Retained<ProtocolObject<dyn UIActivityItemsConfigurationReading>>>

Available on crate features UIResponder_UIActivityItemsConfiguration and UIActivityItemsConfigurationReading only.
source

pub unsafe fn setActivityItemsConfiguration( &self, activity_items_configuration: Option<&ProtocolObject<dyn UIActivityItemsConfigurationReading>> )

Available on crate features UIResponder_UIActivityItemsConfiguration and UIActivityItemsConfigurationReading only.

Methods from Deref<Target = NSObject>§

source

pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !

Handle messages the object doesn’t recognize.

See Apple’s documentation for details.

Methods from Deref<Target = AnyObject>§

source

pub fn class(&self) -> &'static AnyClass

Available on crate feature UIIndirectScribbleInteraction only.

Dynamically find the class of this object.

§Example

Check that an instance of NSObject has the precise class NSObject.

use objc2::ClassType;
use objc2::runtime::NSObject;

let obj = NSObject::new();
assert_eq!(obj.class(), NSObject::class());
source

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

👎Deprecated: this is difficult to use correctly, use Ivar::load instead.
Available on crate feature UIIndirectScribbleInteraction only.

Use Ivar::load instead.

§Safety

The object must have an instance variable with the given name, and it must be of type T.

See Ivar::load_ptr for details surrounding this.

source

pub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut T
where T: Encode,

👎Deprecated: this is difficult to use correctly, use Ivar::load_mut instead.
Available on crate feature UIIndirectScribbleInteraction only.

Use Ivar::load_mut instead.

§Safety

The object must have an instance variable with the given name, and it must be of type T.

See Ivar::load_ptr for details surrounding this.

Trait Implementations§

source§

impl AsMut<AnyObject> for UIView

source§

fn as_mut(&mut self) -> &mut AnyObject

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSObject> for UIView

source§

fn as_mut(&mut self) -> &mut NSObject

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIResponder> for UIView

source§

fn as_mut(&mut self) -> &mut UIResponder

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIActionSheet

Available on crate feature UIActionSheet only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIActivityIndicatorView

Available on crate feature UIActivityIndicatorView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIAlertView

Available on crate feature UIAlertView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIButton

Available on crate feature UIButton only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UICalendarView

Available on crate feature UICalendarView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UICollectionReusableView

Available on crate feature UICollectionViewCell only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UICollectionView

Available on crate feature UICollectionView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UICollectionViewCell

Available on crate feature UICollectionViewCell only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UICollectionViewListCell

Available on crate feature UICollectionViewListCell only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIColorWell

Available on crate feature UIColorWell only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIContentUnavailableView

Available on crate feature UIContentUnavailableView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIControl

Available on crate feature UIControl only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIDatePicker

Available on crate feature UIDatePicker only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIEventAttributionView

Available on crate feature UIEventAttributionView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIImageView

Available on crate feature UIImageView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIInputView

Available on crate feature UIInputView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UILabel

Available on crate feature UILabel only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIListContentView

Available on crate feature UIListContentConfiguration only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UINavigationBar

Available on crate feature UINavigationBar only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIPageControl

Available on crate feature UIPageControl only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIPasteControl

Available on crate feature UIPasteControl only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIPickerView

Available on crate feature UIPickerView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIPopoverBackgroundView

Available on crate feature UIPopoverBackgroundView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIProgressView

Available on crate feature UIProgressView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIRefreshControl

Available on crate feature UIRefreshControl only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIScrollView

Available on crate feature UIScrollView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UISearchBar

Available on crate feature UISearchBar only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UISearchTextField

Available on crate feature UISearchTextField only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UISegmentedControl

Available on crate feature UISegmentedControl only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UISlider

Available on crate feature UISlider only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIStackView

Available on crate feature UIStackView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIStandardTextCursorView

Available on crate feature UIStandardTextCursorView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIStepper

Available on crate feature UIStepper only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UISwitch

Available on crate feature UISwitch only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UITabBar

Available on crate feature UITabBar only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UITableView

Available on crate feature UITableView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UITableViewCell

Available on crate feature UITableViewCell only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UITableViewHeaderFooterView

Available on crate feature UITableViewHeaderFooterView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UITextField

Available on crate feature UITextField only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UITextView

Available on crate feature UITextView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIToolbar

Available on crate feature UIToolbar only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIView

source§

fn as_mut(&mut self) -> &mut Self

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIVisualEffectView

Available on crate feature UIVisualEffectView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIWebView

Available on crate feature UIWebView only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<UIView> for UIWindow

Available on crate feature UIWindow only.
source§

fn as_mut(&mut self) -> &mut UIView

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsRef<AnyObject> for UIView

source§

fn as_ref(&self) -> &AnyObject

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSObject> for UIView

source§

fn as_ref(&self) -> &NSObject

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIResponder> for UIView

source§

fn as_ref(&self) -> &UIResponder

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIActionSheet

Available on crate feature UIActionSheet only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIActivityIndicatorView

Available on crate feature UIActivityIndicatorView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIAlertView

Available on crate feature UIAlertView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIButton

Available on crate feature UIButton only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UICalendarView

Available on crate feature UICalendarView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UICollectionReusableView

Available on crate feature UICollectionViewCell only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UICollectionView

Available on crate feature UICollectionView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UICollectionViewCell

Available on crate feature UICollectionViewCell only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UICollectionViewListCell

Available on crate feature UICollectionViewListCell only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIColorWell

Available on crate feature UIColorWell only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIContentUnavailableView

Available on crate feature UIContentUnavailableView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIControl

Available on crate feature UIControl only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIDatePicker

Available on crate feature UIDatePicker only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIEventAttributionView

Available on crate feature UIEventAttributionView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIImageView

Available on crate feature UIImageView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIInputView

Available on crate feature UIInputView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UILabel

Available on crate feature UILabel only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIListContentView

Available on crate feature UIListContentConfiguration only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UINavigationBar

Available on crate feature UINavigationBar only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIPageControl

Available on crate feature UIPageControl only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIPasteControl

Available on crate feature UIPasteControl only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIPickerView

Available on crate feature UIPickerView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIPopoverBackgroundView

Available on crate feature UIPopoverBackgroundView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIProgressView

Available on crate feature UIProgressView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIRefreshControl

Available on crate feature UIRefreshControl only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIScrollView

Available on crate feature UIScrollView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UISearchBar

Available on crate feature UISearchBar only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UISearchTextField

Available on crate feature UISearchTextField only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UISegmentedControl

Available on crate feature UISegmentedControl only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UISlider

Available on crate feature UISlider only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIStackView

Available on crate feature UIStackView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIStandardTextCursorView

Available on crate feature UIStandardTextCursorView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIStepper

Available on crate feature UIStepper only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UISwitch

Available on crate feature UISwitch only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UITabBar

Available on crate feature UITabBar only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UITableView

Available on crate feature UITableView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UITableViewCell

Available on crate feature UITableViewCell only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UITableViewHeaderFooterView

Available on crate feature UITableViewHeaderFooterView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UITextField

Available on crate feature UITextField only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UITextView

Available on crate feature UITextView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIToolbar

Available on crate feature UIToolbar only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIView

source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIVisualEffectView

Available on crate feature UIVisualEffectView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIWebView

Available on crate feature UIWebView only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<UIView> for UIWindow

Available on crate feature UIWindow only.
source§

fn as_ref(&self) -> &UIView

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<AnyObject> for UIView

source§

fn borrow(&self) -> &AnyObject

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSObject> for UIView

source§

fn borrow(&self) -> &NSObject

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIResponder> for UIView

source§

fn borrow(&self) -> &UIResponder

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIActionSheet

Available on crate feature UIActionSheet only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIActivityIndicatorView

Available on crate feature UIActivityIndicatorView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIAlertView

Available on crate feature UIAlertView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIButton

Available on crate feature UIButton only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UICalendarView

Available on crate feature UICalendarView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UICollectionReusableView

Available on crate feature UICollectionViewCell only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UICollectionView

Available on crate feature UICollectionView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UICollectionViewCell

Available on crate feature UICollectionViewCell only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UICollectionViewListCell

Available on crate feature UICollectionViewListCell only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIColorWell

Available on crate feature UIColorWell only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIContentUnavailableView

Available on crate feature UIContentUnavailableView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIControl

Available on crate feature UIControl only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIDatePicker

Available on crate feature UIDatePicker only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIEventAttributionView

Available on crate feature UIEventAttributionView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIImageView

Available on crate feature UIImageView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIInputView

Available on crate feature UIInputView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UILabel

Available on crate feature UILabel only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIListContentView

Available on crate feature UIListContentConfiguration only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UINavigationBar

Available on crate feature UINavigationBar only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIPageControl

Available on crate feature UIPageControl only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIPasteControl

Available on crate feature UIPasteControl only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIPickerView

Available on crate feature UIPickerView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIPopoverBackgroundView

Available on crate feature UIPopoverBackgroundView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIProgressView

Available on crate feature UIProgressView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIRefreshControl

Available on crate feature UIRefreshControl only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIScrollView

Available on crate feature UIScrollView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UISearchBar

Available on crate feature UISearchBar only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UISearchTextField

Available on crate feature UISearchTextField only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UISegmentedControl

Available on crate feature UISegmentedControl only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UISlider

Available on crate feature UISlider only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIStackView

Available on crate feature UIStackView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIStandardTextCursorView

Available on crate feature UIStandardTextCursorView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIStepper

Available on crate feature UIStepper only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UISwitch

Available on crate feature UISwitch only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UITabBar

Available on crate feature UITabBar only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UITableView

Available on crate feature UITableView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UITableViewCell

Available on crate feature UITableViewCell only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UITableViewHeaderFooterView

Available on crate feature UITableViewHeaderFooterView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UITextField

Available on crate feature UITextField only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UITextView

Available on crate feature UITextView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIToolbar

Available on crate feature UIToolbar only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIVisualEffectView

Available on crate feature UIVisualEffectView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIWebView

Available on crate feature UIWebView only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIWindow

Available on crate feature UIWindow only.
source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl BorrowMut<AnyObject> for UIView

source§

fn borrow_mut(&mut self) -> &mut AnyObject

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSObject> for UIView

source§

fn borrow_mut(&mut self) -> &mut NSObject

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIResponder> for UIView

source§

fn borrow_mut(&mut self) -> &mut UIResponder

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIActionSheet

Available on crate feature UIActionSheet only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIActivityIndicatorView

Available on crate feature UIActivityIndicatorView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIAlertView

Available on crate feature UIAlertView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIButton

Available on crate feature UIButton only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UICalendarView

Available on crate feature UICalendarView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UICollectionReusableView

Available on crate feature UICollectionViewCell only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UICollectionView

Available on crate feature UICollectionView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UICollectionViewCell

Available on crate feature UICollectionViewCell only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UICollectionViewListCell

Available on crate feature UICollectionViewListCell only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIColorWell

Available on crate feature UIColorWell only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIContentUnavailableView

Available on crate feature UIContentUnavailableView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIControl

Available on crate feature UIControl only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIDatePicker

Available on crate feature UIDatePicker only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIEventAttributionView

Available on crate feature UIEventAttributionView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIImageView

Available on crate feature UIImageView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIInputView

Available on crate feature UIInputView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UILabel

Available on crate feature UILabel only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIListContentView

Available on crate feature UIListContentConfiguration only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UINavigationBar

Available on crate feature UINavigationBar only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIPageControl

Available on crate feature UIPageControl only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIPasteControl

Available on crate feature UIPasteControl only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIPickerView

Available on crate feature UIPickerView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIPopoverBackgroundView

Available on crate feature UIPopoverBackgroundView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIProgressView

Available on crate feature UIProgressView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIRefreshControl

Available on crate feature UIRefreshControl only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIScrollView

Available on crate feature UIScrollView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UISearchBar

Available on crate feature UISearchBar only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UISearchTextField

Available on crate feature UISearchTextField only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UISegmentedControl

Available on crate feature UISegmentedControl only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UISlider

Available on crate feature UISlider only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIStackView

Available on crate feature UIStackView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIStandardTextCursorView

Available on crate feature UIStandardTextCursorView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIStepper

Available on crate feature UIStepper only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UISwitch

Available on crate feature UISwitch only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UITabBar

Available on crate feature UITabBar only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UITableView

Available on crate feature UITableView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UITableViewCell

Available on crate feature UITableViewCell only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UITableViewHeaderFooterView

Available on crate feature UITableViewHeaderFooterView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UITextField

Available on crate feature UITextField only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UITextView

Available on crate feature UITextView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIToolbar

Available on crate feature UIToolbar only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIVisualEffectView

Available on crate feature UIVisualEffectView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIWebView

Available on crate feature UIWebView only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIWindow

Available on crate feature UIWindow only.
source§

fn borrow_mut(&mut self) -> &mut UIView

Mutably borrows from an owned value. Read more
source§

impl CALayerDelegate for UIView

Available on crate feature objc2-quartz-core and non-watchOS only.
source§

unsafe fn displayLayer(&self, layer: &CALayer)
where Self: Sized + Message,

source§

unsafe fn layerWillDraw(&self, layer: &CALayer)
where Self: Sized + Message,

source§

unsafe fn layoutSublayersOfLayer(&self, layer: &CALayer)
where Self: Sized + Message,

source§

unsafe fn actionForLayer_forKey( &self, layer: &CALayer, event: &NSString ) -> Option<Retained<ProtocolObject<dyn CAAction>>>
where Self: Sized + Message,

source§

impl ClassType for UIView

§

type Super = UIResponder

The superclass of this class. Read more
§

type Mutability = MainThreadOnly

Whether the type is mutable or immutable. Read more
source§

const NAME: &'static str = "UIView"

The name of the Objective-C class that this type represents. Read more
source§

fn class() -> &'static AnyClass

Get a reference to the Objective-C class that this type represents. Read more
source§

fn as_super(&self) -> &Self::Super

Get an immutable reference to the superclass.
source§

fn as_super_mut(&mut self) -> &mut Self::Super

Get a mutable reference to the superclass.
source§

fn retain(&self) -> Retained<Self>
where Self: IsRetainable + Sized,

Increment the reference count of the receiver. Read more
source§

impl Debug for UIView

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for UIView

§

type Target = UIResponder

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for UIView

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Hash for UIView

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl NSCoding for UIView

source§

unsafe fn encodeWithCoder(&self, coder: &NSCoder)
where Self: Sized + Message,

Available on crate feature NSCoder only.
source§

unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder ) -> Option<Retained<Self>>
where Self: Sized + Message,

Available on crate feature NSCoder only.
source§

impl NSObjectProtocol for UIView

source§

fn isEqual(&self, other: &AnyObject) -> bool
where Self: Sized + Message,

Check whether the object is equal to an arbitrary other object. Read more
source§

fn hash(&self) -> usize
where Self: Sized + Message,

An integer that can be used as a table address in a hash table structure. Read more
source§

fn isKindOfClass(&self, cls: &AnyClass) -> bool
where Self: Sized + Message,

Check if the object is an instance of the class, or one of its subclasses. Read more
source§

fn is_kind_of<T>(&self) -> bool
where T: ClassType, Self: Sized + Message,

Check if the object is an instance of the class type, or one of its subclasses. Read more
source§

fn isMemberOfClass(&self, cls: &AnyClass) -> bool
where Self: Sized + Message,

Check if the object is an instance of a specific class, without checking subclasses. Read more
source§

fn respondsToSelector(&self, aSelector: Sel) -> bool
where Self: Sized + Message,

Check whether the object implements or inherits a method with the given selector. Read more
source§

fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
where Self: Sized + Message,

Check whether the object conforms to a given protocol. Read more
source§

fn description(&self) -> Retained<NSObject>
where Self: Sized + Message,

A textual representation of the object. Read more
source§

fn debugDescription(&self) -> Retained<NSObject>
where Self: Sized + Message,

A textual representation of the object to use when debugging. Read more
source§

fn isProxy(&self) -> bool
where Self: Sized + Message,

Check whether the receiver is a subclass of the NSProxy root class instead of the usual NSObject. Read more
source§

fn retainCount(&self) -> usize
where Self: Sized + Message,

The reference count of the object. Read more
source§

impl PartialEq for UIView

source§

fn eq(&self, other: &UIView) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RefEncode for UIView

source§

const ENCODING_REF: Encoding = <UIResponder as ::objc2::RefEncode>::ENCODING_REF

The Objective-C type-encoding for a reference of this type. Read more
source§

impl UIAccessibilityIdentification for UIView

Available on crate feature UIAccessibilityIdentification only.
source§

unsafe fn accessibilityIdentifier(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityIdentifier( &self, accessibility_identifier: Option<&NSString> )
where Self: Sized + Message,

source§

impl UIAppearance for UIView

Available on crate feature UIAppearance only.
source§

unsafe fn appearance(mtm: MainThreadMarker) -> Retained<Self>
where Self: Sized + ClassType,

source§

unsafe fn appearanceWhenContainedInInstancesOfClasses( container_types: &NSArray<TodoClass>, mtm: MainThreadMarker ) -> Retained<Self>
where Self: Sized + ClassType,

source§

unsafe fn appearanceForTraitCollection( trait: &UITraitCollection, mtm: MainThreadMarker ) -> Retained<Self>
where Self: Sized + ClassType,

Available on crate feature UITraitCollection only.
source§

unsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses( trait: &UITraitCollection, container_types: &NSArray<TodoClass>, mtm: MainThreadMarker ) -> Retained<Self>
where Self: Sized + ClassType,

Available on crate feature UITraitCollection only.
source§

impl UICoordinateSpace for UIView

source§

fn convertPoint_toCoordinateSpace( &self, point: CGPoint, coordinate_space: &ProtocolObject<dyn UICoordinateSpace> ) -> CGPoint
where Self: Sized + Message,

source§

fn convertPoint_fromCoordinateSpace( &self, point: CGPoint, coordinate_space: &ProtocolObject<dyn UICoordinateSpace> ) -> CGPoint
where Self: Sized + Message,

source§

fn convertRect_toCoordinateSpace( &self, rect: CGRect, coordinate_space: &ProtocolObject<dyn UICoordinateSpace> ) -> CGRect
where Self: Sized + Message,

source§

fn convertRect_fromCoordinateSpace( &self, rect: CGRect, coordinate_space: &ProtocolObject<dyn UICoordinateSpace> ) -> CGRect
where Self: Sized + Message,

source§

fn bounds(&self) -> CGRect
where Self: Sized + Message,

source§

impl UIDynamicItem for UIView

Available on crate feature UIDynamicBehavior only.
source§

unsafe fn center(&self) -> CGPoint
where Self: Sized + Message,

source§

unsafe fn setCenter(&self, center: CGPoint)
where Self: Sized + Message,

source§

unsafe fn bounds(&self) -> CGRect
where Self: Sized + Message,

source§

unsafe fn transform(&self) -> CGAffineTransform
where Self: Sized + Message,

source§

unsafe fn setTransform(&self, transform: CGAffineTransform)
where Self: Sized + Message,

source§

unsafe fn collisionBoundsType(&self) -> UIDynamicItemCollisionBoundsType
where Self: Sized + Message,

source§

unsafe fn collisionBoundingPath(&self) -> Retained<UIBezierPath>
where Self: Sized + Message,

Available on crate feature UIBezierPath only.
source§

impl UIFocusEnvironment for UIView

Available on crate feature UIFocus only.
source§

unsafe fn preferredFocusEnvironments( &self ) -> Retained<NSArray<ProtocolObject<dyn UIFocusEnvironment>>>
where Self: Sized + Message,

source§

unsafe fn parentFocusEnvironment( &self ) -> Option<Retained<ProtocolObject<dyn UIFocusEnvironment>>>
where Self: Sized + Message,

source§

unsafe fn focusItemContainer( &self ) -> Option<Retained<ProtocolObject<dyn UIFocusItemContainer>>>
where Self: Sized + Message,

source§

unsafe fn setNeedsFocusUpdate(&self)
where Self: Sized + Message,

source§

unsafe fn updateFocusIfNeeded(&self)
where Self: Sized + Message,

source§

unsafe fn shouldUpdateFocusInContext( &self, context: &UIFocusUpdateContext ) -> bool
where Self: Sized + Message,

source§

unsafe fn didUpdateFocusInContext_withAnimationCoordinator( &self, context: &UIFocusUpdateContext, coordinator: &UIFocusAnimationCoordinator )
where Self: Sized + Message,

Available on crate feature UIFocusAnimationCoordinator only.
source§

unsafe fn soundIdentifierForFocusUpdateInContext( &self, context: &UIFocusUpdateContext ) -> Option<Retained<UIFocusSoundIdentifier>>
where Self: Sized + Message,

source§

unsafe fn preferredFocusedView(&self) -> Option<Retained<UIView>>
where Self: Sized + Message,

👎Deprecated
source§

unsafe fn focusGroupIdentifier(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

impl UIFocusItem for UIView

Available on crate feature UIFocus only.
source§

unsafe fn canBecomeFocused(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn frame(&self) -> CGRect
where Self: Sized + Message,

source§

unsafe fn focusEffect(&self) -> Option<Retained<UIFocusEffect>>
where Self: Sized + Message,

Available on crate feature UIFocusEffect only.
source§

unsafe fn focusGroupPriority(&self) -> UIFocusGroupPriority
where Self: Sized + Message,

source§

unsafe fn isTransparentFocusItem(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn didHintFocusMovement(&self, hint: &UIFocusMovementHint)
where Self: Sized + Message,

Available on crate feature UIFocusMovementHint only.
source§

impl UIFocusItemContainer for UIView

Available on crate feature UIFocus only.
source§

unsafe fn coordinateSpace( &self ) -> Retained<ProtocolObject<dyn UICoordinateSpace>>
where Self: Sized + Message,

source§

unsafe fn focusItemsInRect( &self, rect: CGRect ) -> Retained<NSArray<ProtocolObject<dyn UIFocusItem>>>
where Self: Sized + Message,

source§

impl UILargeContentViewerItem for UIView

Available on crate feature UILargeContentViewer only.
source§

unsafe fn showsLargeContentViewer(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn largeContentTitle(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn largeContentImage(&self) -> Option<Retained<UIImage>>
where Self: Sized + Message,

Available on crate feature UIImage only.
source§

unsafe fn scalesLargeContentImage(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn largeContentImageInsets(&self) -> UIEdgeInsets
where Self: Sized + Message,

Available on crate feature UIGeometry only.
source§

impl UIPopoverPresentationControllerSourceItem for UIView

Available on crate feature UIPopoverPresentationControllerSourceItem only.
source§

unsafe fn frameInView(&self, reference_view: &UIView) -> CGRect
where Self: Sized + Message,

source§

impl UIResponderStandardEditActions for UIView

source§

unsafe fn cut(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn copy(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn paste(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn pasteAndMatchStyle(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn pasteAndGo(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn pasteAndSearch(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn select(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn selectAll(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn delete(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn makeTextWritingDirectionLeftToRight(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn makeTextWritingDirectionRightToLeft(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn toggleBoldface(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn toggleItalics(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn toggleUnderline(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn increaseSize(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn decreaseSize(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn find(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn findAndReplace(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn findNext(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn findPrevious(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn useSelectionForFind(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn updateTextAttributesWithConversionHandler( &self, conversion_handler: UITextAttributesConversionHandler )
where Self: Sized + Message,

Available on crate feature block2 only.
source§

unsafe fn print(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn rename(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn duplicate(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn move(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn export(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

source§

impl UITraitChangeObservable for UIView

Available on crate feature UITraitCollection only.
source§

unsafe fn unregisterForTraitChanges( &self, registration: &ProtocolObject<dyn UITraitChangeRegistration> )
where Self: Sized + Message,

source§

impl UITraitEnvironment for UIView

Available on crate feature UITraitCollection only.
source§

fn traitCollection(&self) -> Retained<UITraitCollection>
where Self: Sized + Message,

source§

unsafe fn traitCollectionDidChange( &self, previous_trait_collection: Option<&UITraitCollection> )
where Self: Sized + Message,

👎Deprecated: Use the trait change registration APIs declared in the UITraitChangeObservable protocol
source§

impl Eq for UIView

source§

impl Message for UIView

source§

impl StructuralPartialEq for UIView

source§

impl UIAppearanceContainer for UIView

Available on crate feature UIAppearance only.

Auto Trait Implementations§

§

impl !Freeze for UIView

§

impl !RefUnwindSafe for UIView

§

impl !Send for UIView

§

impl !Sync for UIView

§

impl !Unpin for UIView

§

impl !UnwindSafe for UIView

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CounterpartOrSelf for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityCounterpartOrSelf<T>,

§

type Immutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Immutable

The immutable counterpart of the type, or Self if the type has no immutable counterpart. Read more
§

type Mutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Mutable

The mutable counterpart of the type, or Self if the type has no mutable counterpart. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> AutoreleaseSafe for T
where T: ?Sized,

source§

impl<T> IsIdCloneable for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityIsIdCloneable,

source§

impl<T> IsMainThreadOnly for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityIsMainThreadOnly,

source§

impl<T> IsRetainable for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityIsRetainable,