Struct objc2_ui_kit::UIStepper

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

Implementations§

source§

impl UIStepper

source

pub unsafe fn isContinuous(&self) -> bool

source

pub unsafe fn setContinuous(&self, continuous: bool)

source

pub unsafe fn autorepeat(&self) -> bool

source

pub unsafe fn setAutorepeat(&self, autorepeat: bool)

source

pub unsafe fn wraps(&self) -> bool

source

pub unsafe fn setWraps(&self, wraps: bool)

source

pub unsafe fn value(&self) -> c_double

source

pub unsafe fn setValue(&self, value: c_double)

source

pub unsafe fn minimumValue(&self) -> c_double

source

pub unsafe fn setMinimumValue(&self, minimum_value: c_double)

source

pub unsafe fn maximumValue(&self) -> c_double

source

pub unsafe fn setMaximumValue(&self, maximum_value: c_double)

source

pub unsafe fn stepValue(&self) -> c_double

source

pub unsafe fn setStepValue(&self, step_value: c_double)

source

pub unsafe fn setBackgroundImage_forState( &self, image: Option<&UIImage>, state: UIControlState )

Available on crate feature UIImage only.
source

pub unsafe fn backgroundImageForState( &self, state: UIControlState ) -> Option<Retained<UIImage>>

Available on crate feature UIImage only.
source

pub unsafe fn setDividerImage_forLeftSegmentState_rightSegmentState( &self, image: Option<&UIImage>, left_state: UIControlState, right_state: UIControlState )

Available on crate feature UIImage only.
source

pub unsafe fn setIncrementImage_forState( &self, image: Option<&UIImage>, state: UIControlState )

Available on crate feature UIImage only.
source

pub unsafe fn incrementImageForState( &self, state: UIControlState ) -> Option<Retained<UIImage>>

Available on crate feature UIImage only.
source

pub unsafe fn setDecrementImage_forState( &self, image: Option<&UIImage>, state: UIControlState )

Available on crate feature UIImage only.
source

pub unsafe fn decrementImageForState( &self, state: UIControlState ) -> Option<Retained<UIImage>>

Available on crate feature UIImage only.
source§

impl UIStepper

Methods declared on superclass UIControl

source

pub unsafe 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 initWithFrame_primaryAction( this: Allocated<Self>, frame: CGRect, primary_action: Option<&UIAction> ) -> Retained<Self>

Available on crate features UIAction and UIMenuElement only.
source§

impl UIStepper

Methods declared on superclass NSObject

source

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

source

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

Methods from Deref<Target = UIControl>§

source

pub unsafe fn isEnabled(&self) -> bool

source

pub unsafe fn setEnabled(&self, enabled: bool)

source

pub unsafe fn isSelected(&self) -> bool

source

pub unsafe fn setSelected(&self, selected: bool)

source

pub unsafe fn isHighlighted(&self) -> bool

source

pub unsafe fn setHighlighted(&self, highlighted: bool)

source

pub unsafe fn contentVerticalAlignment( &self ) -> UIControlContentVerticalAlignment

source

pub unsafe fn setContentVerticalAlignment( &self, content_vertical_alignment: UIControlContentVerticalAlignment )

source

pub unsafe fn contentHorizontalAlignment( &self ) -> UIControlContentHorizontalAlignment

source

pub unsafe fn setContentHorizontalAlignment( &self, content_horizontal_alignment: UIControlContentHorizontalAlignment )

source

pub unsafe fn effectiveContentHorizontalAlignment( &self ) -> UIControlContentHorizontalAlignment

source

pub unsafe fn state(&self) -> UIControlState

source

pub unsafe fn isTracking(&self) -> bool

source

pub unsafe fn isTouchInside(&self) -> bool

source

pub unsafe fn beginTrackingWithTouch_withEvent( &self, touch: &UITouch, event: Option<&UIEvent> ) -> bool

Available on crate features UIEvent and UITouch only.
source

pub unsafe fn continueTrackingWithTouch_withEvent( &self, touch: &UITouch, event: Option<&UIEvent> ) -> bool

Available on crate features UIEvent and UITouch only.
source

pub unsafe fn endTrackingWithTouch_withEvent( &self, touch: Option<&UITouch>, event: Option<&UIEvent> )

Available on crate features UIEvent and UITouch only.
source

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

Available on crate feature UIEvent only.
source

pub unsafe fn addTarget_action_forControlEvents( &self, target: Option<&AnyObject>, action: Sel, control_events: UIControlEvents )

source

pub unsafe fn removeTarget_action_forControlEvents( &self, target: Option<&AnyObject>, action: Option<Sel>, control_events: UIControlEvents )

source

pub unsafe fn addAction_forControlEvents( &self, action: &UIAction, control_events: UIControlEvents )

Available on crate features UIAction and UIMenuElement only.
source

pub unsafe fn removeAction_forControlEvents( &self, action: &UIAction, control_events: UIControlEvents )

Available on crate features UIAction and UIMenuElement only.
source

pub unsafe fn removeActionForIdentifier_forControlEvents( &self, action_identifier: &UIActionIdentifier, control_events: UIControlEvents )

Available on crate feature UIAction only.
source

pub unsafe fn performPrimaryAction(&self)

source

pub unsafe fn allTargets(&self) -> Retained<NSSet>

source

pub unsafe fn allControlEvents(&self) -> UIControlEvents

source

pub unsafe fn actionsForTarget_forControlEvent( &self, target: Option<&AnyObject>, control_event: UIControlEvents ) -> Option<Retained<NSArray<NSString>>>

source

pub unsafe fn enumerateEventHandlers( &self, iterator: &Block<dyn Fn(*mut UIAction, *mut AnyObject, Option<Sel>, UIControlEvents, NonNull<Bool>) + '_> )

Available on crate features UIAction and UIMenuElement and block2 only.
source

pub unsafe fn sendAction_to_forEvent( &self, action: Sel, target: Option<&AnyObject>, event: Option<&UIEvent> )

Available on crate feature UIEvent only.
source

pub unsafe fn sendAction(&self, action: &UIAction)

Available on crate features UIAction and UIMenuElement only.
source

pub unsafe fn sendActionsForControlEvents( &self, control_events: UIControlEvents )

source

pub unsafe fn contextMenuInteraction( &self ) -> Option<Retained<UIContextMenuInteraction>>

Available on crate feature UIContextMenuInteraction only.
source

pub unsafe fn isContextMenuInteractionEnabled(&self) -> bool

source

pub unsafe fn setContextMenuInteractionEnabled( &self, context_menu_interaction_enabled: bool )

source

pub unsafe fn showsMenuAsPrimaryAction(&self) -> bool

source

pub unsafe fn setShowsMenuAsPrimaryAction( &self, shows_menu_as_primary_action: bool )

source

pub unsafe fn menuAttachmentPointForConfiguration( &self, configuration: &UIContextMenuConfiguration ) -> CGPoint

Available on crate feature UIContextMenuConfiguration only.
source

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

source

pub unsafe fn setToolTip(&self, tool_tip: Option<&NSString>)

source

pub unsafe fn toolTipInteraction( &self ) -> Option<Retained<UIToolTipInteraction>>

Available on crate feature UIToolTipInteraction only.
source

pub unsafe fn isSymbolAnimationEnabled(&self) -> bool

source

pub unsafe fn setSymbolAnimationEnabled(&self, symbol_animation_enabled: bool)

source

pub unsafe fn contextMenuInteraction_configurationForMenuAtLocation( &self, interaction: &UIContextMenuInteraction, location: CGPoint ) -> Option<Retained<UIContextMenuConfiguration>>

Available on crate features UIContextMenuConfiguration and UIContextMenuInteraction only.
source

pub unsafe fn contextMenuInteraction_previewForHighlightingMenuWithConfiguration( &self, interaction: &UIContextMenuInteraction, configuration: &UIContextMenuConfiguration ) -> Option<Retained<UITargetedPreview>>

Available on crate features UIContextMenuConfiguration and UIContextMenuInteraction and UITargetedPreview only.
source

pub unsafe fn contextMenuInteraction_previewForDismissingMenuWithConfiguration( &self, interaction: &UIContextMenuInteraction, configuration: &UIContextMenuConfiguration ) -> Option<Retained<UITargetedPreview>>

Available on crate features UIContextMenuConfiguration and UIContextMenuInteraction and UITargetedPreview only.
source

pub unsafe fn contextMenuInteraction_willDisplayMenuForConfiguration_animator( &self, interaction: &UIContextMenuInteraction, configuration: &UIContextMenuConfiguration, animator: Option<&ProtocolObject<dyn UIContextMenuInteractionAnimating>> )

Available on crate features UIContextMenuConfiguration and UIContextMenuInteraction only.
source

pub unsafe fn contextMenuInteraction_willEndForConfiguration_animator( &self, interaction: &UIContextMenuInteraction, configuration: &UIContextMenuConfiguration, animator: Option<&ProtocolObject<dyn UIContextMenuInteractionAnimating>> )

Available on crate features UIContextMenuConfiguration and UIContextMenuInteraction only.
source

pub unsafe fn contextMenuInteraction_willPerformPreviewActionForMenuWithConfiguration_animator( &self, interaction: &UIContextMenuInteraction, configuration: &UIContextMenuConfiguration, animator: &ProtocolObject<dyn UIContextMenuInteractionCommitAnimating> )

Available on crate features UIContextMenuConfiguration and UIContextMenuInteraction only.

Methods from Deref<Target = UIView>§

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

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

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

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

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

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

Available on crate feature UITextField only.
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 effectiveUserInterfaceLayoutDirection( &self ) -> UIUserInterfaceLayoutDirection

Available on crate feature UIInterface only.
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

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

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

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

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

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

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

pub unsafe fn translatesAutoresizingMaskIntoConstraints(&self) -> bool

source

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

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

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

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

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

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

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

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

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

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

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 UIStepper

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 UIStepper

source§

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

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

impl AsMut<UIControl> for UIStepper

source§

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

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

impl AsMut<UIResponder> for UIStepper

source§

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

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

impl AsMut<UIStepper> for UIStepper

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 UIStepper

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 UIStepper

source§

fn as_ref(&self) -> &AnyObject

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

impl AsRef<NSObject> for UIStepper

source§

fn as_ref(&self) -> &NSObject

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

impl AsRef<UIControl> for UIStepper

source§

fn as_ref(&self) -> &UIControl

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

impl AsRef<UIResponder> for UIStepper

source§

fn as_ref(&self) -> &UIResponder

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

impl AsRef<UIStepper> for UIStepper

source§

fn as_ref(&self) -> &Self

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

impl AsRef<UIView> for UIStepper

source§

fn as_ref(&self) -> &UIView

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

impl Borrow<AnyObject> for UIStepper

source§

fn borrow(&self) -> &AnyObject

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSObject> for UIStepper

source§

fn borrow(&self) -> &NSObject

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIControl> for UIStepper

source§

fn borrow(&self) -> &UIControl

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIResponder> for UIStepper

source§

fn borrow(&self) -> &UIResponder

Immutably borrows from an owned value. Read more
source§

impl Borrow<UIView> for UIStepper

source§

fn borrow(&self) -> &UIView

Immutably borrows from an owned value. Read more
source§

impl BorrowMut<AnyObject> for UIStepper

source§

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

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSObject> for UIStepper

source§

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

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIControl> for UIStepper

source§

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

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIResponder> for UIStepper

source§

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

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<UIView> for UIStepper

source§

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

Mutably borrows from an owned value. Read more
source§

impl CALayerDelegate for UIStepper

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 UIStepper

§

type Super = UIControl

The superclass of this class. Read more
§

type Mutability = MainThreadOnly

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

const NAME: &'static str = "UIStepper"

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 UIStepper

source§

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

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

impl Deref for UIStepper

§

type Target = UIControl

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl DerefMut for UIStepper

source§

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

Mutably dereferences the value.
source§

impl Hash for UIStepper

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 UIStepper

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 UIStepper

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 UIStepper

source§

fn eq(&self, other: &UIStepper) -> 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 UIStepper

source§

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

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

impl UIAppearance for UIStepper

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 UIStepper

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 UIStepper

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 UIStepper

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 UIStepper

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 UIStepper

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 UIResponderStandardEditActions for UIStepper

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 UITraitEnvironment for UIStepper

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 UIStepper

source§

impl Message for UIStepper

source§

impl StructuralPartialEq for UIStepper

source§

impl UIAppearanceContainer for UIStepper

Available on crate feature UIAppearance only.

Auto Trait Implementations§

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,