Struct objc2_ui_kit::UIView
source · #[repr(C)]pub struct UIView { /* private fields */ }UIResponder and UIView only.Implementations§
source§impl UIView
impl UIView
UIAccessibilityInvertColors
pub unsafe fn accessibilityIgnoresInvertColors(&self) -> bool
UIAccessibilityAdditions only.pub unsafe fn setAccessibilityIgnoresInvertColors( &self, accessibility_ignores_invert_colors: bool )
UIAccessibilityAdditions only.impl UIView
UIAccessibility
source§impl UIView
impl UIView
UIHoverStyle
pub unsafe fn hoverStyle(&self) -> Option<Retained<UIHoverStyle>>
UIHoverStyle only.pub unsafe fn setHoverStyle(&self, hover_style: Option<&UIHoverStyle>)
UIHoverStyle only.source§impl UIView
impl UIView
Interactions
pub unsafe fn addInteraction( &self, interaction: &ProtocolObject<dyn UIInteraction> )
UIInteraction only.pub unsafe fn removeInteraction( &self, interaction: &ProtocolObject<dyn UIInteraction> )
UIInteraction only.pub unsafe fn interactions( &self ) -> Retained<NSArray<ProtocolObject<dyn UIInteraction>>>
UIInteraction only.pub unsafe fn setInteractions( &self, interactions: &NSArray<ProtocolObject<dyn UIInteraction>> )
UIInteraction only.source§impl UIView
impl UIView
UILargeContentViewer
pub unsafe fn showsLargeContentViewer(&self) -> bool
UILargeContentViewer only.pub unsafe fn setShowsLargeContentViewer( &self, shows_large_content_viewer: bool )
UILargeContentViewer only.pub unsafe fn largeContentTitle(&self) -> Option<Retained<NSString>>
UILargeContentViewer only.pub unsafe fn setLargeContentTitle( &self, large_content_title: Option<&NSString> )
UILargeContentViewer only.pub unsafe fn largeContentImage(&self) -> Option<Retained<UIImage>>
UILargeContentViewer and UIImage only.pub unsafe fn setLargeContentImage(&self, large_content_image: Option<&UIImage>)
UILargeContentViewer and UIImage only.pub unsafe fn scalesLargeContentImage(&self) -> bool
UILargeContentViewer only.pub unsafe fn setScalesLargeContentImage( &self, scales_large_content_image: bool )
UILargeContentViewer only.pub unsafe fn largeContentImageInsets(&self) -> UIEdgeInsets
UILargeContentViewer and UIGeometry only.pub unsafe fn setLargeContentImageInsets( &self, large_content_image_insets: UIEdgeInsets )
UILargeContentViewer and UIGeometry only.impl UIView
UIPopoverPresentationControllerSourceItem
source§impl UIView
impl UIView
UIPrintFormatter
pub unsafe fn viewPrintFormatter(&self) -> Retained<UIViewPrintFormatter>
UIPrintFormatter only.pub unsafe fn drawRect_forViewPrintFormatter( &self, rect: CGRect, formatter: &UIViewPrintFormatter )
UIPrintFormatter only.source§impl UIView
impl UIView
UITextField
pub unsafe fn endEditing(&self, force: bool) -> bool
UITextField only.source§impl UIView
impl UIView
pub fn layerClass(mtm: MainThreadMarker) -> &'static AnyClass
pub fn initWithFrame(this: Allocated<Self>, frame: CGRect) -> Retained<Self>
pub unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder ) -> Option<Retained<Self>>
pub unsafe fn isUserInteractionEnabled(&self) -> bool
pub unsafe fn setUserInteractionEnabled(&self, user_interaction_enabled: bool)
pub unsafe fn tag(&self) -> NSInteger
pub unsafe fn setTag(&self, tag: NSInteger)
pub fn layer(&self) -> Retained<CALayer>
objc2-quartz-core and non-watchOS only.pub unsafe fn canBecomeFocused(&self) -> bool
pub unsafe fn isFocused(&self) -> bool
pub unsafe fn focusGroupIdentifier(&self) -> Option<Retained<NSString>>
pub unsafe fn setFocusGroupIdentifier( &self, focus_group_identifier: Option<&NSString> )
pub unsafe fn focusGroupPriority(&self) -> UIFocusGroupPriority
UIFocus only.pub unsafe fn setFocusGroupPriority( &self, focus_group_priority: UIFocusGroupPriority )
UIFocus only.pub unsafe fn focusEffect(&self) -> Option<Retained<UIFocusEffect>>
UIFocusEffect only.pub unsafe fn setFocusEffect(&self, focus_effect: Option<&UIFocusEffect>)
UIFocusEffect only.pub unsafe fn semanticContentAttribute(&self) -> UISemanticContentAttribute
pub unsafe fn setSemanticContentAttribute( &self, semantic_content_attribute: UISemanticContentAttribute )
pub unsafe fn userInterfaceLayoutDirectionForSemanticContentAttribute( attribute: UISemanticContentAttribute, mtm: MainThreadMarker ) -> UIUserInterfaceLayoutDirection
UIInterface only.pub unsafe fn userInterfaceLayoutDirectionForSemanticContentAttribute_relativeToLayoutDirection( semantic_content_attribute: UISemanticContentAttribute, layout_direction: UIUserInterfaceLayoutDirection, mtm: MainThreadMarker ) -> UIUserInterfaceLayoutDirection
UIInterface only.pub unsafe fn effectiveUserInterfaceLayoutDirection( &self ) -> UIUserInterfaceLayoutDirection
UIInterface only.source§impl UIView
impl UIView
UIViewGeometry
pub fn frame(&self) -> CGRect
pub fn setFrame(&self, frame: CGRect)
pub fn bounds(&self) -> CGRect
pub fn setBounds(&self, bounds: CGRect)
pub unsafe fn center(&self) -> CGPoint
pub unsafe fn setCenter(&self, center: CGPoint)
pub unsafe fn transform3D(&self) -> CATransform3D
objc2-quartz-core and non-watchOS only.pub unsafe fn setTransform3D(&self, transform3_d: CATransform3D)
objc2-quartz-core and non-watchOS only.pub fn contentScaleFactor(&self) -> CGFloat
pub fn setContentScaleFactor(&self, content_scale_factor: CGFloat)
pub unsafe fn anchorPoint(&self) -> CGPoint
pub unsafe fn setAnchorPoint(&self, anchor_point: CGPoint)
pub unsafe fn isMultipleTouchEnabled(&self) -> bool
pub fn setMultipleTouchEnabled(&self, multiple_touch_enabled: bool)
pub unsafe fn isExclusiveTouch(&self) -> bool
pub unsafe fn setExclusiveTouch(&self, exclusive_touch: bool)
pub unsafe fn hitTest_withEvent( &self, point: CGPoint, event: Option<&UIEvent> ) -> Option<Retained<UIView>>
UIEvent only.pub unsafe fn pointInside_withEvent( &self, point: CGPoint, event: Option<&UIEvent> ) -> bool
UIEvent only.pub unsafe fn convertPoint_toView( &self, point: CGPoint, view: Option<&UIView> ) -> CGPoint
pub unsafe fn convertPoint_fromView( &self, point: CGPoint, view: Option<&UIView> ) -> CGPoint
pub unsafe fn convertRect_toView( &self, rect: CGRect, view: Option<&UIView> ) -> CGRect
pub unsafe fn convertRect_fromView( &self, rect: CGRect, view: Option<&UIView> ) -> CGRect
pub unsafe fn autoresizesSubviews(&self) -> bool
pub unsafe fn setAutoresizesSubviews(&self, autoresizes_subviews: bool)
pub unsafe fn autoresizingMask(&self) -> UIViewAutoresizing
pub unsafe fn setAutoresizingMask(&self, autoresizing_mask: UIViewAutoresizing)
pub unsafe fn sizeThatFits(&self, size: CGSize) -> CGSize
pub unsafe fn sizeToFit(&self)
source§impl UIView
impl UIView
UIViewHierarchy
pub fn superview(&self) -> Option<Retained<UIView>>
pub fn subviews(&self) -> Retained<NSArray<UIView>>
pub fn window(&self) -> Option<Retained<UIWindow>>
UIWindow only.pub unsafe fn removeFromSuperview(&self)
pub unsafe fn insertSubview_atIndex(&self, view: &UIView, index: NSInteger)
pub unsafe fn exchangeSubviewAtIndex_withSubviewAtIndex( &self, index1: NSInteger, index2: NSInteger )
pub unsafe fn addSubview(&self, view: &UIView)
pub unsafe fn insertSubview_belowSubview( &self, view: &UIView, sibling_subview: &UIView )
pub unsafe fn insertSubview_aboveSubview( &self, view: &UIView, sibling_subview: &UIView )
pub unsafe fn bringSubviewToFront(&self, view: &UIView)
pub unsafe fn sendSubviewToBack(&self, view: &UIView)
pub unsafe fn didAddSubview(&self, subview: &UIView)
pub unsafe fn willRemoveSubview(&self, subview: &UIView)
pub unsafe fn willMoveToSuperview(&self, new_superview: Option<&UIView>)
pub unsafe fn didMoveToSuperview(&self)
pub unsafe fn willMoveToWindow(&self, new_window: Option<&UIWindow>)
UIWindow only.pub unsafe fn didMoveToWindow(&self)
pub unsafe fn isDescendantOfView(&self, view: &UIView) -> bool
pub unsafe fn viewWithTag(&self, tag: NSInteger) -> Option<Retained<UIView>>
pub unsafe fn setNeedsLayout(&self)
pub unsafe fn layoutIfNeeded(&self)
pub unsafe fn layoutSubviews(&self)
pub unsafe fn layoutMargins(&self) -> UIEdgeInsets
UIGeometry only.pub unsafe fn setLayoutMargins(&self, layout_margins: UIEdgeInsets)
UIGeometry only.pub unsafe fn directionalLayoutMargins(&self) -> NSDirectionalEdgeInsets
UIGeometry only.pub unsafe fn setDirectionalLayoutMargins( &self, directional_layout_margins: NSDirectionalEdgeInsets )
UIGeometry only.pub unsafe fn preservesSuperviewLayoutMargins(&self) -> bool
pub unsafe fn setPreservesSuperviewLayoutMargins( &self, preserves_superview_layout_margins: bool )
pub unsafe fn insetsLayoutMarginsFromSafeArea(&self) -> bool
pub unsafe fn setInsetsLayoutMarginsFromSafeArea( &self, insets_layout_margins_from_safe_area: bool )
pub unsafe fn layoutMarginsDidChange(&self)
pub fn safeAreaInsets(&self) -> UIEdgeInsets
UIGeometry only.pub unsafe fn safeAreaInsetsDidChange(&self)
pub unsafe fn layoutMarginsGuide(&self) -> Retained<UILayoutGuide>
UILayoutGuide only.pub unsafe fn readableContentGuide(&self) -> Retained<UILayoutGuide>
UILayoutGuide only.pub unsafe fn safeAreaLayoutGuide(&self) -> Retained<UILayoutGuide>
UILayoutGuide only.pub unsafe fn keyboardLayoutGuide(&self) -> Retained<UIKeyboardLayoutGuide>
UIKeyboardLayoutGuide and UILayoutGuide and UITrackingLayoutGuide only.source§impl UIView
impl UIView
UIViewRendering
pub unsafe fn drawRect(&self, rect: CGRect)
pub fn setNeedsDisplay(&self)
pub unsafe fn setNeedsDisplayInRect(&self, rect: CGRect)
pub unsafe fn clipsToBounds(&self) -> bool
pub unsafe fn setClipsToBounds(&self, clips_to_bounds: bool)
pub fn backgroundColor(&self) -> Option<Retained<UIColor>>
UIColor only.pub fn setBackgroundColor(&self, background_color: Option<&UIColor>)
UIColor only.pub unsafe fn alpha(&self) -> CGFloat
pub unsafe fn setAlpha(&self, alpha: CGFloat)
pub unsafe fn isOpaque(&self) -> bool
pub unsafe fn setOpaque(&self, opaque: bool)
pub unsafe fn clearsContextBeforeDrawing(&self) -> bool
pub unsafe fn setClearsContextBeforeDrawing( &self, clears_context_before_drawing: bool )
pub fn isHidden(&self) -> bool
pub fn setHidden(&self, hidden: bool)
pub unsafe fn contentMode(&self) -> UIViewContentMode
pub unsafe fn setContentMode(&self, content_mode: UIViewContentMode)
pub unsafe fn contentStretch(&self) -> CGRect
pub unsafe fn setContentStretch(&self, content_stretch: CGRect)
pub unsafe fn maskView(&self) -> Option<Retained<UIView>>
pub unsafe fn setMaskView(&self, mask_view: Option<&UIView>)
pub unsafe fn tintColor(&self) -> Option<Retained<UIColor>>
UIColor only.pub unsafe fn setTintColor(&self, tint_color: Option<&UIColor>)
UIColor only.pub unsafe fn tintAdjustmentMode(&self) -> UIViewTintAdjustmentMode
pub unsafe fn setTintAdjustmentMode( &self, tint_adjustment_mode: UIViewTintAdjustmentMode )
pub unsafe fn tintColorDidChange(&self)
source§impl UIView
impl UIView
UIViewAnimation
pub unsafe fn setAnimationsEnabled(enabled: bool, mtm: MainThreadMarker)
pub unsafe fn areAnimationsEnabled(mtm: MainThreadMarker) -> bool
pub unsafe fn performWithoutAnimation( actions_without_animation: &Block<dyn Fn() + '_>, mtm: MainThreadMarker )
block2 only.pub unsafe fn inheritedAnimationDuration( mtm: MainThreadMarker ) -> NSTimeInterval
source§impl UIView
impl UIView
UIViewAnimationWithBlocks
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 )
block2 only.pub unsafe fn animateWithDuration_animations_completion( duration: NSTimeInterval, animations: &Block<dyn Fn()>, completion: Option<&Block<dyn Fn(Bool)>>, mtm: MainThreadMarker )
block2 only.pub unsafe fn animateWithDuration_animations( duration: NSTimeInterval, animations: &Block<dyn Fn()>, mtm: MainThreadMarker )
block2 only.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 )
block2 only.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 )
block2 only.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)>> )
block2 only.pub unsafe fn transitionFromView_toView_duration_options_completion( from_view: &UIView, to_view: &UIView, duration: NSTimeInterval, options: UIViewAnimationOptions, completion: Option<&Block<dyn Fn(Bool)>> )
block2 only.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 )
block2 only.pub unsafe fn modifyAnimationsWithRepeatCount_autoreverses_animations( count: CGFloat, autoreverses: bool, animations: &Block<dyn Fn() + '_>, mtm: MainThreadMarker )
block2 only.source§impl UIView
impl UIView
UIViewKeyframeAnimations
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 )
block2 only.pub unsafe fn addKeyframeWithRelativeStartTime_relativeDuration_animations( frame_start_time: c_double, frame_duration: c_double, animations: &Block<dyn Fn()>, mtm: MainThreadMarker )
block2 only.source§impl UIView
impl UIView
UIViewGestureRecognizers
pub fn gestureRecognizers( &self ) -> Option<Retained<NSArray<UIGestureRecognizer>>>
UIGestureRecognizer only.pub unsafe fn setGestureRecognizers( &self, gesture_recognizers: Option<&NSArray<UIGestureRecognizer>> )
UIGestureRecognizer only.pub fn addGestureRecognizer(&self, gesture_recognizer: &UIGestureRecognizer)
UIGestureRecognizer only.pub fn removeGestureRecognizer(&self, gesture_recognizer: &UIGestureRecognizer)
UIGestureRecognizer only.pub fn gestureRecognizerShouldBegin( &self, gesture_recognizer: &UIGestureRecognizer ) -> bool
UIGestureRecognizer only.source§impl UIView
impl UIView
UIViewMotionEffects
pub unsafe fn addMotionEffect(&self, effect: &UIMotionEffect)
UIMotionEffect only.pub unsafe fn removeMotionEffect(&self, effect: &UIMotionEffect)
UIMotionEffect only.pub unsafe fn motionEffects(&self) -> Retained<NSArray<UIMotionEffect>>
UIMotionEffect only.pub unsafe fn setMotionEffects(&self, motion_effects: &NSArray<UIMotionEffect>)
UIMotionEffect only.source§impl UIView
impl UIView
UIConstraintBasedLayoutInstallingConstraints
pub unsafe fn constraints(&self) -> Retained<NSArray<NSLayoutConstraint>>
NSLayoutConstraint only.pub unsafe fn addConstraint(&self, constraint: &NSLayoutConstraint)
NSLayoutConstraint only.pub unsafe fn addConstraints(&self, constraints: &NSArray<NSLayoutConstraint>)
NSLayoutConstraint only.pub unsafe fn removeConstraint(&self, constraint: &NSLayoutConstraint)
NSLayoutConstraint only.pub unsafe fn removeConstraints( &self, constraints: &NSArray<NSLayoutConstraint> )
NSLayoutConstraint only.source§impl UIView
impl UIView
UIConstraintBasedLayoutCoreMethods
pub unsafe fn updateConstraintsIfNeeded(&self)
pub unsafe fn updateConstraints(&self)
pub unsafe fn needsUpdateConstraints(&self) -> bool
pub unsafe fn setNeedsUpdateConstraints(&self)
source§impl UIView
impl UIView
UIConstraintBasedCompatibility
pub unsafe fn translatesAutoresizingMaskIntoConstraints(&self) -> bool
pub unsafe fn setTranslatesAutoresizingMaskIntoConstraints( &self, translates_autoresizing_mask_into_constraints: bool )
pub unsafe fn requiresConstraintBasedLayout(mtm: MainThreadMarker) -> bool
source§impl UIView
impl UIView
UIConstraintBasedLayoutLayering
pub unsafe fn alignmentRectForFrame(&self, frame: CGRect) -> CGRect
pub unsafe fn frameForAlignmentRect(&self, alignment_rect: CGRect) -> CGRect
pub unsafe fn alignmentRectInsets(&self) -> UIEdgeInsets
UIGeometry only.pub unsafe fn viewForBaselineLayout(&self) -> Retained<UIView>
pub unsafe fn viewForFirstBaselineLayout(&self) -> Retained<UIView>
pub unsafe fn viewForLastBaselineLayout(&self) -> Retained<UIView>
pub unsafe fn intrinsicContentSize(&self) -> CGSize
pub unsafe fn invalidateIntrinsicContentSize(&self)
pub unsafe fn contentHuggingPriorityForAxis( &self, axis: UILayoutConstraintAxis ) -> UILayoutPriority
NSLayoutConstraint only.pub unsafe fn setContentHuggingPriority_forAxis( &self, priority: UILayoutPriority, axis: UILayoutConstraintAxis )
NSLayoutConstraint only.pub unsafe fn contentCompressionResistancePriorityForAxis( &self, axis: UILayoutConstraintAxis ) -> UILayoutPriority
NSLayoutConstraint only.pub unsafe fn setContentCompressionResistancePriority_forAxis( &self, priority: UILayoutPriority, axis: UILayoutConstraintAxis )
NSLayoutConstraint only.source§impl UIView
impl UIView
UIConstraintBasedLayoutFittingSize
pub unsafe fn systemLayoutSizeFittingSize(&self, target_size: CGSize) -> CGSize
pub unsafe fn systemLayoutSizeFittingSize_withHorizontalFittingPriority_verticalFittingPriority( &self, target_size: CGSize, horizontal_fitting_priority: UILayoutPriority, vertical_fitting_priority: UILayoutPriority ) -> CGSize
NSLayoutConstraint only.source§impl UIView
impl UIView
UILayoutGuideSupport
pub unsafe fn layoutGuides(&self) -> Retained<NSArray<UILayoutGuide>>
UILayoutGuide only.pub unsafe fn addLayoutGuide(&self, layout_guide: &UILayoutGuide)
UILayoutGuide only.pub unsafe fn removeLayoutGuide(&self, layout_guide: &UILayoutGuide)
UILayoutGuide only.source§impl UIView
impl UIView
UIViewLayoutConstraintCreation
pub unsafe fn leadingAnchor(&self) -> Retained<NSLayoutXAxisAnchor>
NSLayoutAnchor only.pub unsafe fn trailingAnchor(&self) -> Retained<NSLayoutXAxisAnchor>
NSLayoutAnchor only.pub unsafe fn leftAnchor(&self) -> Retained<NSLayoutXAxisAnchor>
NSLayoutAnchor only.pub unsafe fn rightAnchor(&self) -> Retained<NSLayoutXAxisAnchor>
NSLayoutAnchor only.pub unsafe fn topAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
NSLayoutAnchor only.pub unsafe fn bottomAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
NSLayoutAnchor only.pub unsafe fn widthAnchor(&self) -> Retained<NSLayoutDimension>
NSLayoutAnchor only.pub unsafe fn heightAnchor(&self) -> Retained<NSLayoutDimension>
NSLayoutAnchor only.pub unsafe fn centerXAnchor(&self) -> Retained<NSLayoutXAxisAnchor>
NSLayoutAnchor only.pub unsafe fn centerYAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
NSLayoutAnchor only.pub unsafe fn firstBaselineAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
NSLayoutAnchor only.pub unsafe fn lastBaselineAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
NSLayoutAnchor only.source§impl UIView
impl UIView
UIConstraintBasedLayoutDebugging
pub unsafe fn constraintsAffectingLayoutForAxis( &self, axis: UILayoutConstraintAxis ) -> Retained<NSArray<NSLayoutConstraint>>
NSLayoutConstraint only.pub unsafe fn hasAmbiguousLayout(&self) -> bool
pub unsafe fn exerciseAmbiguityInLayout(&self)
source§impl UIView
impl UIView
UIStateRestoration
pub unsafe fn restorationIdentifier(&self) -> Option<Retained<NSString>>
pub unsafe fn setRestorationIdentifier( &self, restoration_identifier: Option<&NSString> )
pub unsafe fn encodeRestorableStateWithCoder(&self, coder: &NSCoder)
pub unsafe fn decodeRestorableStateWithCoder(&self, coder: &NSCoder)
source§impl UIView
impl UIView
UISnapshotting
pub unsafe fn snapshotViewAfterScreenUpdates( &self, after_updates: bool ) -> Option<Retained<UIView>>
pub unsafe fn resizableSnapshotViewFromRect_afterScreenUpdates_withCapInsets( &self, rect: CGRect, after_updates: bool, cap_insets: UIEdgeInsets ) -> Option<Retained<UIView>>
UIGeometry only.pub unsafe fn drawViewHierarchyInRect_afterScreenUpdates( &self, rect: CGRect, after_updates: bool ) -> bool
source§impl UIView
impl UIView
DeprecatedAnimations
pub unsafe fn beginAnimations_context( animation_id: Option<&NSString>, context: *mut c_void, mtm: MainThreadMarker )
pub unsafe fn commitAnimations(mtm: MainThreadMarker)
pub unsafe fn setAnimationDelegate( delegate: Option<&AnyObject>, mtm: MainThreadMarker )
pub unsafe fn setAnimationWillStartSelector( selector: Option<Sel>, mtm: MainThreadMarker )
pub unsafe fn setAnimationDidStopSelector( selector: Option<Sel>, mtm: MainThreadMarker )
pub unsafe fn setAnimationDuration( duration: NSTimeInterval, mtm: MainThreadMarker )
pub unsafe fn setAnimationDelay(delay: NSTimeInterval, mtm: MainThreadMarker)
pub unsafe fn setAnimationStartDate(start_date: &NSDate, mtm: MainThreadMarker)
pub unsafe fn setAnimationCurve( curve: UIViewAnimationCurve, mtm: MainThreadMarker )
pub unsafe fn setAnimationRepeatCount( repeat_count: c_float, mtm: MainThreadMarker )
pub unsafe fn setAnimationRepeatAutoreverses( repeat_autoreverses: bool, mtm: MainThreadMarker )
pub unsafe fn setAnimationBeginsFromCurrentState( from_current_state: bool, mtm: MainThreadMarker )
pub unsafe fn setAnimationTransition_forView_cache( transition: UIViewAnimationTransition, view: &UIView, cache: bool )
source§impl UIView
impl UIView
UserInterfaceStyle
pub unsafe fn overrideUserInterfaceStyle(&self) -> UIUserInterfaceStyle
UIInterface only.pub unsafe fn setOverrideUserInterfaceStyle( &self, override_user_interface_style: UIUserInterfaceStyle )
UIInterface only.source§impl UIView
impl UIView
UIContentSizeCategoryLimit
pub unsafe fn minimumContentSizeCategory( &self ) -> Option<Retained<UIContentSizeCategory>>
UIContentSizeCategory only.pub unsafe fn setMinimumContentSizeCategory( &self, minimum_content_size_category: Option<&UIContentSizeCategory> )
UIContentSizeCategory only.pub unsafe fn maximumContentSizeCategory( &self ) -> Option<Retained<UIContentSizeCategory>>
UIContentSizeCategory only.pub unsafe fn setMaximumContentSizeCategory( &self, maximum_content_size_category: Option<&UIContentSizeCategory> )
UIContentSizeCategory only.pub unsafe fn appliedContentSizeCategoryLimitsDescription( &self ) -> Retained<NSString>
source§impl UIView
impl UIView
pub unsafe fn traitOverrides( &self ) -> Retained<ProtocolObject<dyn UITraitOverrides>>
UITraitCollection only.pub unsafe fn updateTraitsIfNeeded(&self)
Methods from Deref<Target = UIResponder>§
pub unsafe fn nextResponder(&self) -> Option<Retained<UIResponder>>
pub unsafe fn canBecomeFirstResponder(&self) -> bool
pub unsafe fn becomeFirstResponder(&self) -> bool
pub unsafe fn canResignFirstResponder(&self) -> bool
pub unsafe fn resignFirstResponder(&self) -> bool
pub unsafe fn isFirstResponder(&self) -> bool
pub unsafe fn touchesBegan_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )
UIEvent and UITouch only.pub unsafe fn touchesMoved_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )
UIEvent and UITouch only.pub unsafe fn touchesEnded_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )
UIEvent and UITouch only.pub unsafe fn touchesCancelled_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )
UIEvent and UITouch only.pub unsafe fn touchesEstimatedPropertiesUpdated(&self, touches: &NSSet<UITouch>)
UITouch only.pub unsafe fn pressesBegan_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )
UIEvent and UIPress and UIPressesEvent only.pub unsafe fn pressesChanged_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )
UIEvent and UIPress and UIPressesEvent only.pub unsafe fn pressesEnded_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )
UIEvent and UIPress and UIPressesEvent only.pub unsafe fn pressesCancelled_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )
UIEvent and UIPress and UIPressesEvent only.pub unsafe fn motionBegan_withEvent( &self, motion: UIEventSubtype, event: Option<&UIEvent> )
UIEvent only.pub unsafe fn motionEnded_withEvent( &self, motion: UIEventSubtype, event: Option<&UIEvent> )
UIEvent only.pub unsafe fn motionCancelled_withEvent( &self, motion: UIEventSubtype, event: Option<&UIEvent> )
UIEvent only.pub unsafe fn remoteControlReceivedWithEvent(&self, event: Option<&UIEvent>)
UIEvent only.pub unsafe fn canPerformAction_withSender( &self, action: Sel, sender: Option<&AnyObject> ) -> bool
pub unsafe fn targetForAction_withSender( &self, action: Sel, sender: Option<&AnyObject> ) -> Option<Retained<AnyObject>>
pub unsafe fn buildMenuWithBuilder( &self, builder: &ProtocolObject<dyn UIMenuBuilder> )
UIMenuBuilder only.pub unsafe fn validateCommand(&self, command: &UICommand)
UICommand and UIMenuElement only.pub unsafe fn undoManager(&self) -> Option<Retained<NSUndoManager>>
pub unsafe fn editingInteractionConfiguration( &self ) -> UIEditingInteractionConfiguration
pub unsafe fn keyCommands(&self) -> Option<Retained<NSArray<UIKeyCommand>>>
UICommand and UIKeyCommand and UIMenuElement only.pub unsafe fn inputView(&self) -> Option<Retained<UIView>>
pub unsafe fn inputAccessoryView(&self) -> Option<Retained<UIView>>
pub unsafe fn inputAssistantItem(&self) -> Retained<UITextInputAssistantItem>
UITextInput only.pub unsafe fn inputViewController( &self ) -> Option<Retained<UIInputViewController>>
UIInputViewController and UIViewController only.pub unsafe fn inputAccessoryViewController( &self ) -> Option<Retained<UIInputViewController>>
UIInputViewController and UIViewController only.pub unsafe fn textInputMode(&self) -> Option<Retained<UITextInputMode>>
UITextInput only.pub unsafe fn textInputContextIdentifier(&self) -> Option<Retained<NSString>>
pub unsafe fn reloadInputViews(&self)
pub unsafe fn userActivity(&self) -> Option<Retained<NSUserActivity>>
pub unsafe fn setUserActivity(&self, user_activity: Option<&NSUserActivity>)
pub unsafe fn updateUserActivityState(&self, activity: &NSUserActivity)
pub unsafe fn restoreUserActivityState(&self, activity: &NSUserActivity)
pub unsafe fn captureTextFromCamera(&self, sender: Option<&AnyObject>)
pub unsafe fn activityItemsConfiguration( &self ) -> Option<Retained<ProtocolObject<dyn UIActivityItemsConfigurationReading>>>
UIResponder_UIActivityItemsConfiguration and UIActivityItemsConfigurationReading only.pub unsafe fn setActivityItemsConfiguration( &self, activity_items_configuration: Option<&ProtocolObject<dyn UIActivityItemsConfigurationReading>> )
UIResponder_UIActivityItemsConfiguration and UIActivityItemsConfigurationReading only.Methods from Deref<Target = NSObject>§
sourcepub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
Handle messages the object doesn’t recognize.
See Apple’s documentation for details.
Methods from Deref<Target = AnyObject>§
sourcepub fn class(&self) -> &'static AnyClass
Available on crate feature UIIndirectScribbleInteraction only.
pub fn class(&self) -> &'static AnyClass
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());sourcepub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load instead.Available on crate feature UIIndirectScribbleInteraction only.
pub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
Ivar::load instead.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.
sourcepub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load_mut instead.Available on crate feature UIIndirectScribbleInteraction only.
pub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut Twhere
T: Encode,
Ivar::load_mut instead.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<UIResponder> for UIView
impl AsMut<UIResponder> for UIView
source§fn as_mut(&mut self) -> &mut UIResponder
fn as_mut(&mut self) -> &mut UIResponder
source§impl AsMut<UIView> for UIActionSheet
Available on crate feature UIActionSheet only.
impl AsMut<UIView> for UIActionSheet
UIActionSheet only.source§impl AsMut<UIView> for UIActivityIndicatorView
Available on crate feature UIActivityIndicatorView only.
impl AsMut<UIView> for UIActivityIndicatorView
UIActivityIndicatorView only.source§impl AsMut<UIView> for UIAlertView
Available on crate feature UIAlertView only.
impl AsMut<UIView> for UIAlertView
UIAlertView only.source§impl AsMut<UIView> for UICalendarView
Available on crate feature UICalendarView only.
impl AsMut<UIView> for UICalendarView
UICalendarView only.source§impl AsMut<UIView> for UICollectionReusableView
Available on crate feature UICollectionViewCell only.
impl AsMut<UIView> for UICollectionReusableView
UICollectionViewCell only.source§impl AsMut<UIView> for UICollectionView
Available on crate feature UICollectionView only.
impl AsMut<UIView> for UICollectionView
UICollectionView only.source§impl AsMut<UIView> for UICollectionViewCell
Available on crate feature UICollectionViewCell only.
impl AsMut<UIView> for UICollectionViewCell
UICollectionViewCell only.source§impl AsMut<UIView> for UICollectionViewListCell
Available on crate feature UICollectionViewListCell only.
impl AsMut<UIView> for UICollectionViewListCell
UICollectionViewListCell only.source§impl AsMut<UIView> for UIColorWell
Available on crate feature UIColorWell only.
impl AsMut<UIView> for UIColorWell
UIColorWell only.source§impl AsMut<UIView> for UIDatePicker
Available on crate feature UIDatePicker only.
impl AsMut<UIView> for UIDatePicker
UIDatePicker only.source§impl AsMut<UIView> for UIEventAttributionView
Available on crate feature UIEventAttributionView only.
impl AsMut<UIView> for UIEventAttributionView
UIEventAttributionView only.source§impl AsMut<UIView> for UIImageView
Available on crate feature UIImageView only.
impl AsMut<UIView> for UIImageView
UIImageView only.source§impl AsMut<UIView> for UIInputView
Available on crate feature UIInputView only.
impl AsMut<UIView> for UIInputView
UIInputView only.source§impl AsMut<UIView> for UIListContentView
Available on crate feature UIListContentConfiguration only.
impl AsMut<UIView> for UIListContentView
UIListContentConfiguration only.source§impl AsMut<UIView> for UIPageControl
Available on crate feature UIPageControl only.
impl AsMut<UIView> for UIPageControl
UIPageControl only.source§impl AsMut<UIView> for UIPasteControl
Available on crate feature UIPasteControl only.
impl AsMut<UIView> for UIPasteControl
UIPasteControl only.source§impl AsMut<UIView> for UIPickerView
Available on crate feature UIPickerView only.
impl AsMut<UIView> for UIPickerView
UIPickerView only.source§impl AsMut<UIView> for UIPopoverBackgroundView
Available on crate feature UIPopoverBackgroundView only.
impl AsMut<UIView> for UIPopoverBackgroundView
UIPopoverBackgroundView only.source§impl AsMut<UIView> for UIProgressView
Available on crate feature UIProgressView only.
impl AsMut<UIView> for UIProgressView
UIProgressView only.source§impl AsMut<UIView> for UIRefreshControl
Available on crate feature UIRefreshControl only.
impl AsMut<UIView> for UIRefreshControl
UIRefreshControl only.source§impl AsMut<UIView> for UIScrollView
Available on crate feature UIScrollView only.
impl AsMut<UIView> for UIScrollView
UIScrollView only.source§impl AsMut<UIView> for UISearchBar
Available on crate feature UISearchBar only.
impl AsMut<UIView> for UISearchBar
UISearchBar only.source§impl AsMut<UIView> for UISearchTextField
Available on crate feature UISearchTextField only.
impl AsMut<UIView> for UISearchTextField
UISearchTextField only.source§impl AsMut<UIView> for UISegmentedControl
Available on crate feature UISegmentedControl only.
impl AsMut<UIView> for UISegmentedControl
UISegmentedControl only.source§impl AsMut<UIView> for UIStackView
Available on crate feature UIStackView only.
impl AsMut<UIView> for UIStackView
UIStackView only.source§impl AsMut<UIView> for UIStandardTextCursorView
Available on crate feature UIStandardTextCursorView only.
impl AsMut<UIView> for UIStandardTextCursorView
UIStandardTextCursorView only.source§impl AsMut<UIView> for UITableView
Available on crate feature UITableView only.
impl AsMut<UIView> for UITableView
UITableView only.source§impl AsMut<UIView> for UITableViewCell
Available on crate feature UITableViewCell only.
impl AsMut<UIView> for UITableViewCell
UITableViewCell only.source§impl AsMut<UIView> for UITextField
Available on crate feature UITextField only.
impl AsMut<UIView> for UITextField
UITextField only.source§impl AsMut<UIView> for UITextView
Available on crate feature UITextView only.
impl AsMut<UIView> for UITextView
UITextView only.source§impl AsMut<UIView> for UIVisualEffectView
Available on crate feature UIVisualEffectView only.
impl AsMut<UIView> for UIVisualEffectView
UIVisualEffectView only.source§impl AsRef<UIResponder> for UIView
impl AsRef<UIResponder> for UIView
source§fn as_ref(&self) -> &UIResponder
fn as_ref(&self) -> &UIResponder
source§impl AsRef<UIView> for UIActionSheet
Available on crate feature UIActionSheet only.
impl AsRef<UIView> for UIActionSheet
UIActionSheet only.source§impl AsRef<UIView> for UIActivityIndicatorView
Available on crate feature UIActivityIndicatorView only.
impl AsRef<UIView> for UIActivityIndicatorView
UIActivityIndicatorView only.source§impl AsRef<UIView> for UIAlertView
Available on crate feature UIAlertView only.
impl AsRef<UIView> for UIAlertView
UIAlertView only.source§impl AsRef<UIView> for UICalendarView
Available on crate feature UICalendarView only.
impl AsRef<UIView> for UICalendarView
UICalendarView only.source§impl AsRef<UIView> for UICollectionReusableView
Available on crate feature UICollectionViewCell only.
impl AsRef<UIView> for UICollectionReusableView
UICollectionViewCell only.source§impl AsRef<UIView> for UICollectionView
Available on crate feature UICollectionView only.
impl AsRef<UIView> for UICollectionView
UICollectionView only.source§impl AsRef<UIView> for UICollectionViewCell
Available on crate feature UICollectionViewCell only.
impl AsRef<UIView> for UICollectionViewCell
UICollectionViewCell only.source§impl AsRef<UIView> for UICollectionViewListCell
Available on crate feature UICollectionViewListCell only.
impl AsRef<UIView> for UICollectionViewListCell
UICollectionViewListCell only.source§impl AsRef<UIView> for UIColorWell
Available on crate feature UIColorWell only.
impl AsRef<UIView> for UIColorWell
UIColorWell only.source§impl AsRef<UIView> for UIDatePicker
Available on crate feature UIDatePicker only.
impl AsRef<UIView> for UIDatePicker
UIDatePicker only.source§impl AsRef<UIView> for UIEventAttributionView
Available on crate feature UIEventAttributionView only.
impl AsRef<UIView> for UIEventAttributionView
UIEventAttributionView only.source§impl AsRef<UIView> for UIImageView
Available on crate feature UIImageView only.
impl AsRef<UIView> for UIImageView
UIImageView only.source§impl AsRef<UIView> for UIInputView
Available on crate feature UIInputView only.
impl AsRef<UIView> for UIInputView
UIInputView only.source§impl AsRef<UIView> for UIListContentView
Available on crate feature UIListContentConfiguration only.
impl AsRef<UIView> for UIListContentView
UIListContentConfiguration only.source§impl AsRef<UIView> for UIPageControl
Available on crate feature UIPageControl only.
impl AsRef<UIView> for UIPageControl
UIPageControl only.source§impl AsRef<UIView> for UIPasteControl
Available on crate feature UIPasteControl only.
impl AsRef<UIView> for UIPasteControl
UIPasteControl only.source§impl AsRef<UIView> for UIPickerView
Available on crate feature UIPickerView only.
impl AsRef<UIView> for UIPickerView
UIPickerView only.source§impl AsRef<UIView> for UIPopoverBackgroundView
Available on crate feature UIPopoverBackgroundView only.
impl AsRef<UIView> for UIPopoverBackgroundView
UIPopoverBackgroundView only.source§impl AsRef<UIView> for UIProgressView
Available on crate feature UIProgressView only.
impl AsRef<UIView> for UIProgressView
UIProgressView only.source§impl AsRef<UIView> for UIRefreshControl
Available on crate feature UIRefreshControl only.
impl AsRef<UIView> for UIRefreshControl
UIRefreshControl only.source§impl AsRef<UIView> for UIScrollView
Available on crate feature UIScrollView only.
impl AsRef<UIView> for UIScrollView
UIScrollView only.source§impl AsRef<UIView> for UISearchBar
Available on crate feature UISearchBar only.
impl AsRef<UIView> for UISearchBar
UISearchBar only.source§impl AsRef<UIView> for UISearchTextField
Available on crate feature UISearchTextField only.
impl AsRef<UIView> for UISearchTextField
UISearchTextField only.source§impl AsRef<UIView> for UISegmentedControl
Available on crate feature UISegmentedControl only.
impl AsRef<UIView> for UISegmentedControl
UISegmentedControl only.source§impl AsRef<UIView> for UIStackView
Available on crate feature UIStackView only.
impl AsRef<UIView> for UIStackView
UIStackView only.source§impl AsRef<UIView> for UIStandardTextCursorView
Available on crate feature UIStandardTextCursorView only.
impl AsRef<UIView> for UIStandardTextCursorView
UIStandardTextCursorView only.source§impl AsRef<UIView> for UITableView
Available on crate feature UITableView only.
impl AsRef<UIView> for UITableView
UITableView only.source§impl AsRef<UIView> for UITableViewCell
Available on crate feature UITableViewCell only.
impl AsRef<UIView> for UITableViewCell
UITableViewCell only.source§impl AsRef<UIView> for UITextField
Available on crate feature UITextField only.
impl AsRef<UIView> for UITextField
UITextField only.source§impl AsRef<UIView> for UITextView
Available on crate feature UITextView only.
impl AsRef<UIView> for UITextView
UITextView only.source§impl AsRef<UIView> for UIVisualEffectView
Available on crate feature UIVisualEffectView only.
impl AsRef<UIView> for UIVisualEffectView
UIVisualEffectView only.source§impl Borrow<UIResponder> for UIView
impl Borrow<UIResponder> for UIView
source§fn borrow(&self) -> &UIResponder
fn borrow(&self) -> &UIResponder
source§impl Borrow<UIView> for UIActionSheet
Available on crate feature UIActionSheet only.
impl Borrow<UIView> for UIActionSheet
UIActionSheet only.source§impl Borrow<UIView> for UIActivityIndicatorView
Available on crate feature UIActivityIndicatorView only.
impl Borrow<UIView> for UIActivityIndicatorView
UIActivityIndicatorView only.source§impl Borrow<UIView> for UIAlertView
Available on crate feature UIAlertView only.
impl Borrow<UIView> for UIAlertView
UIAlertView only.source§impl Borrow<UIView> for UICalendarView
Available on crate feature UICalendarView only.
impl Borrow<UIView> for UICalendarView
UICalendarView only.source§impl Borrow<UIView> for UICollectionReusableView
Available on crate feature UICollectionViewCell only.
impl Borrow<UIView> for UICollectionReusableView
UICollectionViewCell only.source§impl Borrow<UIView> for UICollectionView
Available on crate feature UICollectionView only.
impl Borrow<UIView> for UICollectionView
UICollectionView only.source§impl Borrow<UIView> for UICollectionViewCell
Available on crate feature UICollectionViewCell only.
impl Borrow<UIView> for UICollectionViewCell
UICollectionViewCell only.source§impl Borrow<UIView> for UICollectionViewListCell
Available on crate feature UICollectionViewListCell only.
impl Borrow<UIView> for UICollectionViewListCell
UICollectionViewListCell only.source§impl Borrow<UIView> for UIColorWell
Available on crate feature UIColorWell only.
impl Borrow<UIView> for UIColorWell
UIColorWell only.source§impl Borrow<UIView> for UIDatePicker
Available on crate feature UIDatePicker only.
impl Borrow<UIView> for UIDatePicker
UIDatePicker only.source§impl Borrow<UIView> for UIEventAttributionView
Available on crate feature UIEventAttributionView only.
impl Borrow<UIView> for UIEventAttributionView
UIEventAttributionView only.source§impl Borrow<UIView> for UIImageView
Available on crate feature UIImageView only.
impl Borrow<UIView> for UIImageView
UIImageView only.source§impl Borrow<UIView> for UIInputView
Available on crate feature UIInputView only.
impl Borrow<UIView> for UIInputView
UIInputView only.source§impl Borrow<UIView> for UIListContentView
Available on crate feature UIListContentConfiguration only.
impl Borrow<UIView> for UIListContentView
UIListContentConfiguration only.source§impl Borrow<UIView> for UIPageControl
Available on crate feature UIPageControl only.
impl Borrow<UIView> for UIPageControl
UIPageControl only.source§impl Borrow<UIView> for UIPasteControl
Available on crate feature UIPasteControl only.
impl Borrow<UIView> for UIPasteControl
UIPasteControl only.source§impl Borrow<UIView> for UIPickerView
Available on crate feature UIPickerView only.
impl Borrow<UIView> for UIPickerView
UIPickerView only.source§impl Borrow<UIView> for UIPopoverBackgroundView
Available on crate feature UIPopoverBackgroundView only.
impl Borrow<UIView> for UIPopoverBackgroundView
UIPopoverBackgroundView only.source§impl Borrow<UIView> for UIProgressView
Available on crate feature UIProgressView only.
impl Borrow<UIView> for UIProgressView
UIProgressView only.source§impl Borrow<UIView> for UIRefreshControl
Available on crate feature UIRefreshControl only.
impl Borrow<UIView> for UIRefreshControl
UIRefreshControl only.source§impl Borrow<UIView> for UIScrollView
Available on crate feature UIScrollView only.
impl Borrow<UIView> for UIScrollView
UIScrollView only.source§impl Borrow<UIView> for UISearchBar
Available on crate feature UISearchBar only.
impl Borrow<UIView> for UISearchBar
UISearchBar only.source§impl Borrow<UIView> for UISearchTextField
Available on crate feature UISearchTextField only.
impl Borrow<UIView> for UISearchTextField
UISearchTextField only.source§impl Borrow<UIView> for UISegmentedControl
Available on crate feature UISegmentedControl only.
impl Borrow<UIView> for UISegmentedControl
UISegmentedControl only.source§impl Borrow<UIView> for UIStackView
Available on crate feature UIStackView only.
impl Borrow<UIView> for UIStackView
UIStackView only.source§impl Borrow<UIView> for UIStandardTextCursorView
Available on crate feature UIStandardTextCursorView only.
impl Borrow<UIView> for UIStandardTextCursorView
UIStandardTextCursorView only.source§impl Borrow<UIView> for UITableView
Available on crate feature UITableView only.
impl Borrow<UIView> for UITableView
UITableView only.source§impl Borrow<UIView> for UITableViewCell
Available on crate feature UITableViewCell only.
impl Borrow<UIView> for UITableViewCell
UITableViewCell only.source§impl Borrow<UIView> for UITextField
Available on crate feature UITextField only.
impl Borrow<UIView> for UITextField
UITextField only.source§impl Borrow<UIView> for UITextView
Available on crate feature UITextView only.
impl Borrow<UIView> for UITextView
UITextView only.source§impl Borrow<UIView> for UIVisualEffectView
Available on crate feature UIVisualEffectView only.
impl Borrow<UIView> for UIVisualEffectView
UIVisualEffectView only.source§impl BorrowMut<AnyObject> for UIView
impl BorrowMut<AnyObject> for UIView
source§fn borrow_mut(&mut self) -> &mut AnyObject
fn borrow_mut(&mut self) -> &mut AnyObject
source§impl BorrowMut<NSObject> for UIView
impl BorrowMut<NSObject> for UIView
source§fn borrow_mut(&mut self) -> &mut NSObject
fn borrow_mut(&mut self) -> &mut NSObject
source§impl BorrowMut<UIResponder> for UIView
impl BorrowMut<UIResponder> for UIView
source§fn borrow_mut(&mut self) -> &mut UIResponder
fn borrow_mut(&mut self) -> &mut UIResponder
source§impl BorrowMut<UIView> for UIActionSheet
Available on crate feature UIActionSheet only.
impl BorrowMut<UIView> for UIActionSheet
UIActionSheet only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIActivityIndicatorView
Available on crate feature UIActivityIndicatorView only.
impl BorrowMut<UIView> for UIActivityIndicatorView
UIActivityIndicatorView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIAlertView
Available on crate feature UIAlertView only.
impl BorrowMut<UIView> for UIAlertView
UIAlertView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIButton
Available on crate feature UIButton only.
impl BorrowMut<UIView> for UIButton
UIButton only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UICalendarView
Available on crate feature UICalendarView only.
impl BorrowMut<UIView> for UICalendarView
UICalendarView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UICollectionReusableView
Available on crate feature UICollectionViewCell only.
impl BorrowMut<UIView> for UICollectionReusableView
UICollectionViewCell only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UICollectionView
Available on crate feature UICollectionView only.
impl BorrowMut<UIView> for UICollectionView
UICollectionView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UICollectionViewCell
Available on crate feature UICollectionViewCell only.
impl BorrowMut<UIView> for UICollectionViewCell
UICollectionViewCell only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UICollectionViewListCell
Available on crate feature UICollectionViewListCell only.
impl BorrowMut<UIView> for UICollectionViewListCell
UICollectionViewListCell only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIColorWell
Available on crate feature UIColorWell only.
impl BorrowMut<UIView> for UIColorWell
UIColorWell only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIControl
Available on crate feature UIControl only.
impl BorrowMut<UIView> for UIControl
UIControl only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIDatePicker
Available on crate feature UIDatePicker only.
impl BorrowMut<UIView> for UIDatePicker
UIDatePicker only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIEventAttributionView
Available on crate feature UIEventAttributionView only.
impl BorrowMut<UIView> for UIEventAttributionView
UIEventAttributionView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIImageView
Available on crate feature UIImageView only.
impl BorrowMut<UIView> for UIImageView
UIImageView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIInputView
Available on crate feature UIInputView only.
impl BorrowMut<UIView> for UIInputView
UIInputView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UILabel
Available on crate feature UILabel only.
impl BorrowMut<UIView> for UILabel
UILabel only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIListContentView
Available on crate feature UIListContentConfiguration only.
impl BorrowMut<UIView> for UIListContentView
UIListContentConfiguration only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIPageControl
Available on crate feature UIPageControl only.
impl BorrowMut<UIView> for UIPageControl
UIPageControl only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIPasteControl
Available on crate feature UIPasteControl only.
impl BorrowMut<UIView> for UIPasteControl
UIPasteControl only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIPickerView
Available on crate feature UIPickerView only.
impl BorrowMut<UIView> for UIPickerView
UIPickerView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIPopoverBackgroundView
Available on crate feature UIPopoverBackgroundView only.
impl BorrowMut<UIView> for UIPopoverBackgroundView
UIPopoverBackgroundView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIProgressView
Available on crate feature UIProgressView only.
impl BorrowMut<UIView> for UIProgressView
UIProgressView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIRefreshControl
Available on crate feature UIRefreshControl only.
impl BorrowMut<UIView> for UIRefreshControl
UIRefreshControl only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIScrollView
Available on crate feature UIScrollView only.
impl BorrowMut<UIView> for UIScrollView
UIScrollView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UISearchBar
Available on crate feature UISearchBar only.
impl BorrowMut<UIView> for UISearchBar
UISearchBar only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UISearchTextField
Available on crate feature UISearchTextField only.
impl BorrowMut<UIView> for UISearchTextField
UISearchTextField only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UISegmentedControl
Available on crate feature UISegmentedControl only.
impl BorrowMut<UIView> for UISegmentedControl
UISegmentedControl only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UISlider
Available on crate feature UISlider only.
impl BorrowMut<UIView> for UISlider
UISlider only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIStackView
Available on crate feature UIStackView only.
impl BorrowMut<UIView> for UIStackView
UIStackView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIStandardTextCursorView
Available on crate feature UIStandardTextCursorView only.
impl BorrowMut<UIView> for UIStandardTextCursorView
UIStandardTextCursorView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIStepper
Available on crate feature UIStepper only.
impl BorrowMut<UIView> for UIStepper
UIStepper only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UISwitch
Available on crate feature UISwitch only.
impl BorrowMut<UIView> for UISwitch
UISwitch only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UITabBar
Available on crate feature UITabBar only.
impl BorrowMut<UIView> for UITabBar
UITabBar only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UITableView
Available on crate feature UITableView only.
impl BorrowMut<UIView> for UITableView
UITableView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UITableViewCell
Available on crate feature UITableViewCell only.
impl BorrowMut<UIView> for UITableViewCell
UITableViewCell only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UITextField
Available on crate feature UITextField only.
impl BorrowMut<UIView> for UITextField
UITextField only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UITextView
Available on crate feature UITextView only.
impl BorrowMut<UIView> for UITextView
UITextView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIToolbar
Available on crate feature UIToolbar only.
impl BorrowMut<UIView> for UIToolbar
UIToolbar only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIVisualEffectView
Available on crate feature UIVisualEffectView only.
impl BorrowMut<UIView> for UIVisualEffectView
UIVisualEffectView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIWebView
Available on crate feature UIWebView only.
impl BorrowMut<UIView> for UIWebView
UIWebView only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl BorrowMut<UIView> for UIWindow
Available on crate feature UIWindow only.
impl BorrowMut<UIView> for UIWindow
UIWindow only.source§fn borrow_mut(&mut self) -> &mut UIView
fn borrow_mut(&mut self) -> &mut UIView
source§impl CALayerDelegate for UIView
Available on crate feature objc2-quartz-core and non-watchOS only.
impl CALayerDelegate for UIView
objc2-quartz-core and non-watchOS only.unsafe fn displayLayer(&self, layer: &CALayer)
unsafe fn layerWillDraw(&self, layer: &CALayer)
unsafe fn layoutSublayersOfLayer(&self, layer: &CALayer)
unsafe fn actionForLayer_forKey( &self, layer: &CALayer, event: &NSString ) -> Option<Retained<ProtocolObject<dyn CAAction>>>
source§impl ClassType for UIView
impl ClassType for UIView
§type Super = UIResponder
type Super = UIResponder
§type Mutability = MainThreadOnly
type Mutability = MainThreadOnly
source§const NAME: &'static str = "UIView"
const NAME: &'static str = "UIView"
source§fn class() -> &'static AnyClass
fn class() -> &'static AnyClass
source§fn as_super_mut(&mut self) -> &mut Self::Super
fn as_super_mut(&mut self) -> &mut Self::Super
source§impl NSObjectProtocol for UIView
impl NSObjectProtocol for UIView
source§fn isEqual(&self, other: &AnyObject) -> bool
fn isEqual(&self, other: &AnyObject) -> bool
source§fn hash(&self) -> usize
fn hash(&self) -> usize
source§fn isKindOfClass(&self, cls: &AnyClass) -> bool
fn isKindOfClass(&self, cls: &AnyClass) -> bool
source§fn is_kind_of<T>(&self) -> bool
fn is_kind_of<T>(&self) -> bool
source§fn isMemberOfClass(&self, cls: &AnyClass) -> bool
fn isMemberOfClass(&self, cls: &AnyClass) -> bool
source§fn respondsToSelector(&self, aSelector: Sel) -> bool
fn respondsToSelector(&self, aSelector: Sel) -> bool
source§fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
source§fn debugDescription(&self) -> Retained<NSObject>
fn debugDescription(&self) -> Retained<NSObject>
source§impl PartialEq for UIView
impl PartialEq for UIView
source§impl RefEncode for UIView
impl RefEncode for UIView
source§const ENCODING_REF: Encoding = <UIResponder as ::objc2::RefEncode>::ENCODING_REF
const ENCODING_REF: Encoding = <UIResponder as ::objc2::RefEncode>::ENCODING_REF
source§impl UIAccessibilityIdentification for UIView
Available on crate feature UIAccessibilityIdentification only.
impl UIAccessibilityIdentification for UIView
UIAccessibilityIdentification only.source§impl UIAppearance for UIView
Available on crate feature UIAppearance only.
impl UIAppearance for UIView
UIAppearance only.unsafe fn appearance(mtm: MainThreadMarker) -> Retained<Self>
unsafe fn appearanceWhenContainedInInstancesOfClasses( container_types: &NSArray<TodoClass>, mtm: MainThreadMarker ) -> Retained<Self>
source§unsafe fn appearanceForTraitCollection(
trait: &UITraitCollection,
mtm: MainThreadMarker
) -> Retained<Self>
unsafe fn appearanceForTraitCollection( trait: &UITraitCollection, mtm: MainThreadMarker ) -> Retained<Self>
UITraitCollection only.source§unsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses(
trait: &UITraitCollection,
container_types: &NSArray<TodoClass>,
mtm: MainThreadMarker
) -> Retained<Self>
unsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses( trait: &UITraitCollection, container_types: &NSArray<TodoClass>, mtm: MainThreadMarker ) -> Retained<Self>
UITraitCollection only.source§impl UICoordinateSpace for UIView
impl UICoordinateSpace for UIView
fn convertPoint_toCoordinateSpace( &self, point: CGPoint, coordinate_space: &ProtocolObject<dyn UICoordinateSpace> ) -> CGPoint
fn convertPoint_fromCoordinateSpace( &self, point: CGPoint, coordinate_space: &ProtocolObject<dyn UICoordinateSpace> ) -> CGPoint
fn convertRect_toCoordinateSpace( &self, rect: CGRect, coordinate_space: &ProtocolObject<dyn UICoordinateSpace> ) -> CGRect
fn convertRect_fromCoordinateSpace( &self, rect: CGRect, coordinate_space: &ProtocolObject<dyn UICoordinateSpace> ) -> CGRect
fn bounds(&self) -> CGRect
source§impl UIDynamicItem for UIView
Available on crate feature UIDynamicBehavior only.
impl UIDynamicItem for UIView
UIDynamicBehavior only.unsafe fn center(&self) -> CGPoint
unsafe fn setCenter(&self, center: CGPoint)
unsafe fn bounds(&self) -> CGRect
unsafe fn transform(&self) -> CGAffineTransform
unsafe fn setTransform(&self, transform: CGAffineTransform)
unsafe fn collisionBoundsType(&self) -> UIDynamicItemCollisionBoundsType
source§unsafe fn collisionBoundingPath(&self) -> Retained<UIBezierPath>
unsafe fn collisionBoundingPath(&self) -> Retained<UIBezierPath>
UIBezierPath only.source§impl UIFocusEnvironment for UIView
Available on crate feature UIFocus only.
impl UIFocusEnvironment for UIView
UIFocus only.unsafe fn preferredFocusEnvironments( &self ) -> Retained<NSArray<ProtocolObject<dyn UIFocusEnvironment>>>
unsafe fn parentFocusEnvironment( &self ) -> Option<Retained<ProtocolObject<dyn UIFocusEnvironment>>>
unsafe fn focusItemContainer( &self ) -> Option<Retained<ProtocolObject<dyn UIFocusItemContainer>>>
unsafe fn setNeedsFocusUpdate(&self)
unsafe fn updateFocusIfNeeded(&self)
unsafe fn shouldUpdateFocusInContext( &self, context: &UIFocusUpdateContext ) -> bool
source§unsafe fn didUpdateFocusInContext_withAnimationCoordinator(
&self,
context: &UIFocusUpdateContext,
coordinator: &UIFocusAnimationCoordinator
)
unsafe fn didUpdateFocusInContext_withAnimationCoordinator( &self, context: &UIFocusUpdateContext, coordinator: &UIFocusAnimationCoordinator )
UIFocusAnimationCoordinator only.unsafe fn soundIdentifierForFocusUpdateInContext( &self, context: &UIFocusUpdateContext ) -> Option<Retained<UIFocusSoundIdentifier>>
unsafe fn focusGroupIdentifier(&self) -> Option<Retained<NSString>>
source§impl UIFocusItem for UIView
Available on crate feature UIFocus only.
impl UIFocusItem for UIView
UIFocus only.unsafe fn canBecomeFocused(&self) -> bool
unsafe fn frame(&self) -> CGRect
source§unsafe fn focusEffect(&self) -> Option<Retained<UIFocusEffect>>
unsafe fn focusEffect(&self) -> Option<Retained<UIFocusEffect>>
UIFocusEffect only.unsafe fn focusGroupPriority(&self) -> UIFocusGroupPriority
unsafe fn isTransparentFocusItem(&self) -> bool
source§unsafe fn didHintFocusMovement(&self, hint: &UIFocusMovementHint)
unsafe fn didHintFocusMovement(&self, hint: &UIFocusMovementHint)
UIFocusMovementHint only.source§impl UIFocusItemContainer for UIView
Available on crate feature UIFocus only.
impl UIFocusItemContainer for UIView
UIFocus only.unsafe fn coordinateSpace( &self ) -> Retained<ProtocolObject<dyn UICoordinateSpace>>
unsafe fn focusItemsInRect( &self, rect: CGRect ) -> Retained<NSArray<ProtocolObject<dyn UIFocusItem>>>
source§impl UILargeContentViewerItem for UIView
Available on crate feature UILargeContentViewer only.
impl UILargeContentViewerItem for UIView
UILargeContentViewer only.unsafe fn showsLargeContentViewer(&self) -> bool
unsafe fn largeContentTitle(&self) -> Option<Retained<NSString>>
source§unsafe fn largeContentImage(&self) -> Option<Retained<UIImage>>
unsafe fn largeContentImage(&self) -> Option<Retained<UIImage>>
UIImage only.unsafe fn scalesLargeContentImage(&self) -> bool
source§unsafe fn largeContentImageInsets(&self) -> UIEdgeInsets
unsafe fn largeContentImageInsets(&self) -> UIEdgeInsets
UIGeometry only.source§impl UIPopoverPresentationControllerSourceItem for UIView
Available on crate feature UIPopoverPresentationControllerSourceItem only.
impl UIPopoverPresentationControllerSourceItem for UIView
UIPopoverPresentationControllerSourceItem only.source§impl UIResponderStandardEditActions for UIView
impl UIResponderStandardEditActions for UIView
unsafe fn cut(&self, sender: Option<&AnyObject>)
unsafe fn copy(&self, sender: Option<&AnyObject>)
unsafe fn paste(&self, sender: Option<&AnyObject>)
unsafe fn pasteAndMatchStyle(&self, sender: Option<&AnyObject>)
unsafe fn pasteAndGo(&self, sender: Option<&AnyObject>)
unsafe fn pasteAndSearch(&self, sender: Option<&AnyObject>)
unsafe fn select(&self, sender: Option<&AnyObject>)
unsafe fn selectAll(&self, sender: Option<&AnyObject>)
unsafe fn delete(&self, sender: Option<&AnyObject>)
unsafe fn makeTextWritingDirectionLeftToRight(&self, sender: Option<&AnyObject>)
unsafe fn makeTextWritingDirectionRightToLeft(&self, sender: Option<&AnyObject>)
unsafe fn toggleBoldface(&self, sender: Option<&AnyObject>)
unsafe fn toggleItalics(&self, sender: Option<&AnyObject>)
unsafe fn toggleUnderline(&self, sender: Option<&AnyObject>)
unsafe fn increaseSize(&self, sender: Option<&AnyObject>)
unsafe fn decreaseSize(&self, sender: Option<&AnyObject>)
unsafe fn find(&self, sender: Option<&AnyObject>)
unsafe fn findAndReplace(&self, sender: Option<&AnyObject>)
unsafe fn findNext(&self, sender: Option<&AnyObject>)
unsafe fn findPrevious(&self, sender: Option<&AnyObject>)
unsafe fn useSelectionForFind(&self, sender: Option<&AnyObject>)
source§unsafe fn updateTextAttributesWithConversionHandler(
&self,
conversion_handler: UITextAttributesConversionHandler
)
unsafe fn updateTextAttributesWithConversionHandler( &self, conversion_handler: UITextAttributesConversionHandler )
block2 only.unsafe fn print(&self, sender: Option<&AnyObject>)
unsafe fn rename(&self, sender: Option<&AnyObject>)
unsafe fn duplicate(&self, sender: Option<&AnyObject>)
unsafe fn move(&self, sender: Option<&AnyObject>)
unsafe fn export(&self, sender: Option<&AnyObject>)
source§impl UITraitChangeObservable for UIView
Available on crate feature UITraitCollection only.
impl UITraitChangeObservable for UIView
UITraitCollection only.unsafe fn unregisterForTraitChanges( &self, registration: &ProtocolObject<dyn UITraitChangeRegistration> )
source§impl UITraitEnvironment for UIView
Available on crate feature UITraitCollection only.
impl UITraitEnvironment for UIView
UITraitCollection only.fn traitCollection(&self) -> Retained<UITraitCollection>
source§unsafe fn traitCollectionDidChange(
&self,
previous_trait_collection: Option<&UITraitCollection>
)
unsafe fn traitCollectionDidChange( &self, previous_trait_collection: Option<&UITraitCollection> )
impl Eq for UIView
impl Message for UIView
impl StructuralPartialEq for UIView
impl UIAppearanceContainer for UIView
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CounterpartOrSelf for T
impl<T> CounterpartOrSelf for T
§type Immutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Immutable
type Immutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Immutable
Self if the type has no
immutable counterpart. Read more§type Mutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Mutable
type Mutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Mutable
Self if the type has no
mutable counterpart. Read more