Struct objc2_ui_kit::UIActivityViewController
source · #[repr(C)]pub struct UIActivityViewController { /* private fields */ }
Available on crate features
UIActivityViewController
and UIResponder
and UIViewController
only.Implementations§
source§impl UIActivityViewController
impl UIActivityViewController
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>
pub unsafe fn initWithNibName_bundle( this: Allocated<Self>, nib_name_or_nil: Option<&NSString>, nib_bundle_or_nil: Option<&NSBundle> ) -> Retained<Self>
pub unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder ) -> Option<Retained<Self>>
pub unsafe fn initWithActivityItems_applicationActivities( this: Allocated<Self>, activity_items: &NSArray, application_activities: Option<&NSArray<UIActivity>> ) -> Retained<Self>
Available on crate feature
UIActivity
only.pub unsafe fn completionHandler( &self ) -> UIActivityViewControllerCompletionHandler
👎Deprecated
Available on crate features
UIActivity
and block2
only.pub unsafe fn setCompletionHandler( &self, completion_handler: UIActivityViewControllerCompletionHandler )
👎Deprecated
Available on crate features
UIActivity
and block2
only.pub unsafe fn completionWithItemsHandler( &self ) -> UIActivityViewControllerCompletionWithItemsHandler
Available on crate features
UIActivity
and block2
only.pub unsafe fn setCompletionWithItemsHandler( &self, completion_with_items_handler: UIActivityViewControllerCompletionWithItemsHandler )
Available on crate features
UIActivity
and block2
only.pub unsafe fn excludedActivityTypes( &self ) -> Option<Retained<NSArray<UIActivityType>>>
Available on crate feature
UIActivity
only.pub unsafe fn setExcludedActivityTypes( &self, excluded_activity_types: Option<&NSArray<UIActivityType>> )
Available on crate feature
UIActivity
only.pub unsafe fn allowsProminentActivity(&self) -> bool
pub unsafe fn setAllowsProminentActivity(&self, allows_prominent_activity: bool)
source§impl UIActivityViewController
impl UIActivityViewController
Methods declared on superclass NSObject
pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>
source§impl UIActivityViewController
impl UIActivityViewController
UIActivityItemsConfiguration
pub unsafe fn initWithActivityItemsConfiguration( this: Allocated<Self>, activity_items_configuration: &ProtocolObject<dyn UIActivityItemsConfigurationReading> ) -> Retained<Self>
Available on crate feature
UIActivityItemsConfigurationReading
only.Methods from Deref<Target = UIViewController>§
Available on crate features
UINavigationController
and UINavigationItem
only.pub unsafe fn hidesBottomBarWhenPushed(&self) -> bool
Available on crate feature
UINavigationController
only.pub unsafe fn setHidesBottomBarWhenPushed( &self, hides_bottom_bar_when_pushed: bool )
Available on crate feature
UINavigationController
only.Available on crate feature
UINavigationController
only.pub unsafe fn toolbarItems(&self) -> Option<Retained<NSArray<UIBarButtonItem>>>
Available on crate features
UINavigationController
and UIBarButtonItem
and UIBarItem
only.pub unsafe fn setToolbarItems( &self, toolbar_items: Option<&NSArray<UIBarButtonItem>> )
Available on crate features
UINavigationController
and UIBarButtonItem
and UIBarItem
only.pub unsafe fn setToolbarItems_animated( &self, toolbar_items: Option<&NSArray<UIBarButtonItem>>, animated: bool )
Available on crate features
UINavigationController
and UIBarButtonItem
and UIBarItem
only.pub unsafe fn isModalInPopover(&self) -> bool
👎Deprecated
Available on crate feature
UIPopoverSupport
only.pub unsafe fn setModalInPopover(&self, modal_in_popover: bool)
👎Deprecated
Available on crate feature
UIPopoverSupport
only.pub unsafe fn contentSizeForViewInPopover(&self) -> CGSize
👎Deprecated
Available on crate feature
UIPopoverSupport
only.pub unsafe fn setContentSizeForViewInPopover( &self, content_size_for_view_in_popover: CGSize )
👎Deprecated
Available on crate feature
UIPopoverSupport
only.pub unsafe fn splitViewController( &self ) -> Option<Retained<UISplitViewController>>
Available on crate feature
UISplitViewController
only.pub unsafe fn collapseSecondaryViewController_forSplitViewController( &self, secondary_view_controller: &UIViewController, split_view_controller: &UISplitViewController )
Available on crate feature
UISplitViewController
only.pub unsafe fn separateSecondaryViewControllerForSplitViewController( &self, split_view_controller: &UISplitViewController ) -> Option<Retained<UIViewController>>
Available on crate feature
UISplitViewController
only.pub unsafe fn tabBarItem(&self) -> Option<Retained<UITabBarItem>>
Available on crate features
UITabBarController
and UIBarItem
and UITabBarItem
only.pub unsafe fn setTabBarItem(&self, tab_bar_item: Option<&UITabBarItem>)
Available on crate features
UITabBarController
and UIBarItem
and UITabBarItem
only.pub unsafe fn tabBarController(&self) -> Option<Retained<UITabBarController>>
Available on crate feature
UITabBarController
only.pub unsafe fn tabBarObservedScrollView(&self) -> Option<Retained<UIScrollView>>
👎Deprecated: Use -setContentScrollView:forEdge: instead.
Available on crate features
UITabBarController
and UIScrollView
and UIView
only.pub unsafe fn setTabBarObservedScrollView( &self, tab_bar_observed_scroll_view: Option<&UIScrollView> )
👎Deprecated: Use -setContentScrollView:forEdge: instead.
Available on crate features
UITabBarController
and UIScrollView
and UIView
only.pub fn view(&self) -> Option<Retained<UIView>>
Available on crate feature
UIView
only.pub fn setView(&self, view: Option<&UIView>)
Available on crate feature
UIView
only.pub unsafe fn loadView(&self)
pub unsafe fn loadViewIfNeeded(&self)
pub unsafe fn viewIfLoaded(&self) -> Option<Retained<UIView>>
Available on crate feature
UIView
only.pub unsafe fn viewWillUnload(&self)
👎Deprecated
pub unsafe fn viewDidUnload(&self)
👎Deprecated
pub unsafe fn viewDidLoad(&self)
pub unsafe fn isViewLoaded(&self) -> bool
pub unsafe fn nibName(&self) -> Option<Retained<NSString>>
👎Deprecated: Loading Interface Builder products will not be supported in a future version of visionOS.
pub unsafe fn nibBundle(&self) -> Option<Retained<NSBundle>>
👎Deprecated: Loading Interface Builder products will not be supported in a future version of visionOS.
pub unsafe fn storyboard(&self) -> Option<Retained<UIStoryboard>>
👎Deprecated: Loading Interface Builder products will not be supported in a future version of visionOS.
Available on crate feature
UIStoryboard
only.pub unsafe fn performSegueWithIdentifier_sender( &self, identifier: &NSString, sender: Option<&AnyObject> )
👎Deprecated: Loading Interface Builder products will not be supported in a future version of visionOS.
pub unsafe fn shouldPerformSegueWithIdentifier_sender( &self, identifier: &NSString, sender: Option<&AnyObject> ) -> bool
👎Deprecated: Loading Interface Builder products will not be supported in a future version of visionOS.
pub unsafe fn prepareForSegue_sender( &self, segue: &UIStoryboardSegue, sender: Option<&AnyObject> )
👎Deprecated: Loading Interface Builder products will not be supported in a future version of visionOS.
Available on crate feature
UIStoryboardSegue
only.pub unsafe fn canPerformUnwindSegueAction_fromViewController_sender( &self, action: Sel, from_view_controller: &UIViewController, sender: Option<&AnyObject> ) -> bool
👎Deprecated: Loading Interface Builder products will not be supported in a future version of visionOS.
pub unsafe fn canPerformUnwindSegueAction_fromViewController_withSender( &self, action: Sel, from_view_controller: &UIViewController, sender: &AnyObject ) -> bool
👎Deprecated
pub unsafe fn allowedChildViewControllersForUnwindingFromSource( &self, source: &UIStoryboardUnwindSegueSource ) -> Retained<NSArray<UIViewController>>
👎Deprecated: Loading Interface Builder products will not be supported in a future version of visionOS.
Available on crate feature
UIStoryboardSegue
only.pub unsafe fn childViewControllerContainingSegueSource( &self, source: &UIStoryboardUnwindSegueSource ) -> Option<Retained<UIViewController>>
👎Deprecated: Loading Interface Builder products will not be supported in a future version of visionOS.
Available on crate feature
UIStoryboardSegue
only.pub unsafe fn viewControllerForUnwindSegueAction_fromViewController_withSender( &self, action: Sel, from_view_controller: &UIViewController, sender: Option<&AnyObject> ) -> Option<Retained<UIViewController>>
👎Deprecated
pub unsafe fn unwindForSegue_towardsViewController( &self, unwind_segue: &UIStoryboardSegue, subsequent_vc: &UIViewController )
👎Deprecated: Loading Interface Builder products will not be supported in a future version of visionOS.
Available on crate feature
UIStoryboardSegue
only.pub unsafe fn segueForUnwindingToViewController_fromViewController_identifier( &self, to_view_controller: &UIViewController, from_view_controller: &UIViewController, identifier: Option<&NSString> ) -> Option<Retained<UIStoryboardSegue>>
👎Deprecated
Available on crate feature
UIStoryboardSegue
only.pub unsafe fn viewWillAppear(&self, animated: bool)
pub unsafe fn viewIsAppearing(&self, animated: bool)
pub unsafe fn viewDidAppear(&self, animated: bool)
pub unsafe fn viewWillDisappear(&self, animated: bool)
pub unsafe fn viewDidDisappear(&self, animated: bool)
pub unsafe fn viewWillLayoutSubviews(&self)
pub unsafe fn viewDidLayoutSubviews(&self)
pub unsafe fn title(&self) -> Option<Retained<NSString>>
pub unsafe fn setTitle(&self, title: Option<&NSString>)
pub unsafe fn didReceiveMemoryWarning(&self)
pub unsafe fn parentViewController(&self) -> Option<Retained<UIViewController>>
pub unsafe fn modalViewController(&self) -> Option<Retained<UIViewController>>
👎Deprecated
pub unsafe fn presentedViewController( &self ) -> Option<Retained<UIViewController>>
pub unsafe fn presentingViewController( &self ) -> Option<Retained<UIViewController>>
pub unsafe fn definesPresentationContext(&self) -> bool
pub unsafe fn setDefinesPresentationContext( &self, defines_presentation_context: bool )
pub unsafe fn providesPresentationContextTransitionStyle(&self) -> bool
pub unsafe fn setProvidesPresentationContextTransitionStyle( &self, provides_presentation_context_transition_style: bool )
pub unsafe fn restoresFocusAfterTransition(&self) -> bool
pub unsafe fn setRestoresFocusAfterTransition( &self, restores_focus_after_transition: bool )
pub unsafe fn focusGroupIdentifier(&self) -> Option<Retained<NSString>>
pub unsafe fn setFocusGroupIdentifier( &self, focus_group_identifier: Option<&NSString> )
pub unsafe fn interactionActivityTrackingBaseName( &self ) -> Option<Retained<NSString>>
pub unsafe fn setInteractionActivityTrackingBaseName( &self, interaction_activity_tracking_base_name: Option<&NSString> )
pub unsafe fn isBeingPresented(&self) -> bool
pub unsafe fn isBeingDismissed(&self) -> bool
pub unsafe fn isMovingToParentViewController(&self) -> bool
pub unsafe fn isMovingFromParentViewController(&self) -> bool
pub unsafe fn presentViewController_animated_completion( &self, view_controller_to_present: &UIViewController, flag: bool, completion: Option<&Block<dyn Fn()>> )
Available on crate feature
block2
only.pub unsafe fn dismissViewControllerAnimated_completion( &self, flag: bool, completion: Option<&Block<dyn Fn()>> )
Available on crate feature
block2
only.pub unsafe fn presentModalViewController_animated( &self, modal_view_controller: &UIViewController, animated: bool )
👎Deprecated
pub unsafe fn dismissModalViewControllerAnimated(&self, animated: bool)
👎Deprecated
pub unsafe fn modalTransitionStyle(&self) -> UIModalTransitionStyle
pub unsafe fn setModalTransitionStyle( &self, modal_transition_style: UIModalTransitionStyle )
pub unsafe fn modalPresentationStyle(&self) -> UIModalPresentationStyle
pub unsafe fn setModalPresentationStyle( &self, modal_presentation_style: UIModalPresentationStyle )
pub unsafe fn modalPresentationCapturesStatusBarAppearance(&self) -> bool
pub unsafe fn setModalPresentationCapturesStatusBarAppearance( &self, modal_presentation_captures_status_bar_appearance: bool )
pub unsafe fn disablesAutomaticKeyboardDismissal(&self) -> bool
pub unsafe fn wantsFullScreenLayout(&self) -> bool
👎Deprecated
pub unsafe fn setWantsFullScreenLayout(&self, wants_full_screen_layout: bool)
👎Deprecated
pub unsafe fn edgesForExtendedLayout(&self) -> UIRectEdge
Available on crate feature
UIGeometry
only.pub unsafe fn setEdgesForExtendedLayout( &self, edges_for_extended_layout: UIRectEdge )
Available on crate feature
UIGeometry
only.pub unsafe fn extendedLayoutIncludesOpaqueBars(&self) -> bool
pub unsafe fn setExtendedLayoutIncludesOpaqueBars( &self, extended_layout_includes_opaque_bars: bool )
pub unsafe fn automaticallyAdjustsScrollViewInsets(&self) -> bool
👎Deprecated: Use UIScrollView’s contentInsetAdjustmentBehavior instead
pub unsafe fn setAutomaticallyAdjustsScrollViewInsets( &self, automatically_adjusts_scroll_view_insets: bool )
👎Deprecated: Use UIScrollView’s contentInsetAdjustmentBehavior instead
pub unsafe fn setContentScrollView_forEdge( &self, scroll_view: Option<&UIScrollView>, edge: NSDirectionalRectEdge )
Available on crate features
UIGeometry
and UIScrollView
and UIView
only.pub unsafe fn contentScrollViewForEdge( &self, edge: NSDirectionalRectEdge ) -> Option<Retained<UIScrollView>>
Available on crate features
UIGeometry
and UIScrollView
and UIView
only.pub unsafe fn preferredContentSize(&self) -> CGSize
pub unsafe fn setPreferredContentSize(&self, preferred_content_size: CGSize)
pub unsafe fn preferredStatusBarStyle(&self) -> UIStatusBarStyle
👎Deprecated: Has no effect on visionOS
Available on crate feature
UIApplication
only.pub unsafe fn prefersStatusBarHidden(&self) -> bool
👎Deprecated: Has no effect on visionOS
pub unsafe fn preferredStatusBarUpdateAnimation(&self) -> UIStatusBarAnimation
👎Deprecated: Has no effect on visionOS
Available on crate feature
UIApplication
only.pub fn setNeedsStatusBarAppearanceUpdate(&self)
pub unsafe fn targetViewControllerForAction_sender( &self, action: Sel, sender: Option<&AnyObject> ) -> Option<Retained<UIViewController>>
pub unsafe fn showViewController_sender( &self, vc: &UIViewController, sender: Option<&AnyObject> )
pub unsafe fn showDetailViewController_sender( &self, vc: &UIViewController, sender: Option<&AnyObject> )
pub unsafe fn preferredUserInterfaceStyle(&self) -> UIUserInterfaceStyle
Available on crate feature
UIInterface
only.pub unsafe fn setNeedsUserInterfaceAppearanceUpdate(&self)
pub unsafe fn overrideUserInterfaceStyle(&self) -> UIUserInterfaceStyle
Available on crate feature
UIInterface
only.pub unsafe fn setOverrideUserInterfaceStyle( &self, override_user_interface_style: UIUserInterfaceStyle )
Available on crate feature
UIInterface
only.pub unsafe fn shouldAutorotateToInterfaceOrientation( &self, to_interface_orientation: UIInterfaceOrientation ) -> bool
👎Deprecated
Available on crate feature
UIOrientation
only.pub unsafe fn shouldAutorotate(&self) -> bool
👎Deprecated: Update supported interface orientations and call setNeedsUpdateOfSupportedInterfaceOrientations to indicate a change.
pub unsafe fn supportedInterfaceOrientations( &self ) -> UIInterfaceOrientationMask
Available on crate feature
UIOrientation
only.pub unsafe fn preferredInterfaceOrientationForPresentation( &self ) -> UIInterfaceOrientation
Available on crate feature
UIOrientation
only.pub unsafe fn setNeedsUpdateOfSupportedInterfaceOrientations(&self)
pub unsafe fn rotatingHeaderView(&self) -> Option<Retained<UIView>>
👎Deprecated: Header views are animated along with the rest of the view hierarchy
Available on crate feature
UIView
only.👎Deprecated: Footer views are animated along with the rest of the view hierarchy
Available on crate feature
UIView
only.pub unsafe fn interfaceOrientation(&self) -> UIInterfaceOrientation
👎Deprecated
Available on crate feature
UIOrientation
only.pub unsafe fn willRotateToInterfaceOrientation_duration( &self, to_interface_orientation: UIInterfaceOrientation, duration: NSTimeInterval )
👎Deprecated: Implement viewWillTransitionToSize:withTransitionCoordinator: instead
Available on crate feature
UIOrientation
only.pub unsafe fn didRotateFromInterfaceOrientation( &self, from_interface_orientation: UIInterfaceOrientation )
👎Deprecated
Available on crate feature
UIOrientation
only.pub unsafe fn willAnimateRotationToInterfaceOrientation_duration( &self, to_interface_orientation: UIInterfaceOrientation, duration: NSTimeInterval )
👎Deprecated: Implement viewWillTransitionToSize:withTransitionCoordinator: instead
Available on crate feature
UIOrientation
only.pub unsafe fn willAnimateFirstHalfOfRotationToInterfaceOrientation_duration( &self, to_interface_orientation: UIInterfaceOrientation, duration: NSTimeInterval )
👎Deprecated
Available on crate feature
UIOrientation
only.pub unsafe fn didAnimateFirstHalfOfRotationToInterfaceOrientation( &self, to_interface_orientation: UIInterfaceOrientation )
👎Deprecated
Available on crate feature
UIOrientation
only.pub unsafe fn willAnimateSecondHalfOfRotationFromInterfaceOrientation_duration( &self, from_interface_orientation: UIInterfaceOrientation, duration: NSTimeInterval )
👎Deprecated
Available on crate feature
UIOrientation
only.pub unsafe fn isEditing(&self) -> bool
pub unsafe fn setEditing(&self, editing: bool)
pub unsafe fn setEditing_animated(&self, editing: bool, animated: bool)
pub unsafe fn editButtonItem(&self) -> Retained<UIBarButtonItem>
Available on crate features
UIBarButtonItem
and UIBarItem
only.pub unsafe fn searchDisplayController( &self ) -> Option<Retained<UISearchDisplayController>>
👎Deprecated
Available on crate feature
UISearchDisplayController
only.pub unsafe fn childViewControllers(&self) -> Retained<NSArray<UIViewController>>
pub unsafe fn addChildViewController(&self, child_controller: &UIViewController)
pub unsafe fn removeFromParentViewController(&self)
pub unsafe fn transitionFromViewController_toViewController_duration_options_animations_completion( &self, from_view_controller: &UIViewController, to_view_controller: &UIViewController, duration: NSTimeInterval, options: UIViewAnimationOptions, animations: Option<&Block<dyn Fn()>>, completion: Option<&Block<dyn Fn(Bool)>> )
Available on crate features
UIView
and block2
only.pub unsafe fn beginAppearanceTransition_animated( &self, is_appearing: bool, animated: bool )
pub unsafe fn endAppearanceTransition(&self)
pub unsafe fn childViewControllerForStatusBarStyle( &self ) -> Option<Retained<UIViewController>>
👎Deprecated: Has no effect on visionOS
pub unsafe fn childViewControllerForStatusBarHidden( &self ) -> Option<Retained<UIViewController>>
👎Deprecated: Has no effect on visionOS
pub unsafe fn setOverrideTraitCollection_forChildViewController( &self, collection: Option<&UITraitCollection>, child_view_controller: &UIViewController )
👎Deprecated: Use the traitOverrides property on the child view controller instead
Available on crate feature
UITraitCollection
only.pub unsafe fn overrideTraitCollectionForChildViewController( &self, child_view_controller: &UIViewController ) -> Option<Retained<UITraitCollection>>
👎Deprecated: Use the traitOverrides property on the child view controller instead
Available on crate feature
UITraitCollection
only.pub unsafe fn childViewControllerForUserInterfaceStyle( &self ) -> Option<Retained<UIViewController>>
pub unsafe fn automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers( &self ) -> bool
👎Deprecated
pub unsafe fn shouldAutomaticallyForwardRotationMethods(&self) -> bool
👎Deprecated: Manually forward viewWillTransitionToSize:withTransitionCoordinator: if necessary
pub unsafe fn shouldAutomaticallyForwardAppearanceMethods(&self) -> bool
pub unsafe fn willMoveToParentViewController( &self, parent: Option<&UIViewController> )
pub unsafe fn didMoveToParentViewController( &self, parent: Option<&UIViewController> )
pub unsafe fn restorationIdentifier(&self) -> Option<Retained<NSString>>
pub unsafe fn setRestorationIdentifier( &self, restoration_identifier: Option<&NSString> )
pub unsafe fn restorationClass(&self) -> Option<&'static AnyClass>
Available on crate feature
UIStateRestoration
only.pub unsafe fn setRestorationClass(&self, restoration_class: Option<&AnyClass>)
Available on crate feature
UIStateRestoration
only.pub unsafe fn encodeRestorableStateWithCoder(&self, coder: &NSCoder)
pub unsafe fn decodeRestorableStateWithCoder(&self, coder: &NSCoder)
pub unsafe fn applicationFinishedRestoringState(&self)
pub unsafe fn updateViewConstraints(&self)
pub unsafe fn transitioningDelegate( &self ) -> Option<Retained<ProtocolObject<dyn UIViewControllerTransitioningDelegate>>>
Available on crate feature
UIViewControllerTransitioning
only.pub unsafe fn setTransitioningDelegate( &self, transitioning_delegate: Option<&ProtocolObject<dyn UIViewControllerTransitioningDelegate>> )
Available on crate feature
UIViewControllerTransitioning
only.pub unsafe fn topLayoutGuide( &self ) -> Retained<ProtocolObject<dyn UILayoutSupport>>
👎Deprecated: Use view.safeAreaLayoutGuide.topAnchor instead of topLayoutGuide.bottomAnchor
Available on crate feature
NSLayoutConstraint
only.pub unsafe fn bottomLayoutGuide( &self ) -> Retained<ProtocolObject<dyn UILayoutSupport>>
👎Deprecated: Use view.safeAreaLayoutGuide.bottomAnchor instead of bottomLayoutGuide.topAnchor
Available on crate feature
NSLayoutConstraint
only.pub unsafe fn additionalSafeAreaInsets(&self) -> UIEdgeInsets
Available on crate feature
UIGeometry
only.pub unsafe fn setAdditionalSafeAreaInsets( &self, additional_safe_area_insets: UIEdgeInsets )
Available on crate feature
UIGeometry
only.pub unsafe fn systemMinimumLayoutMargins(&self) -> NSDirectionalEdgeInsets
Available on crate feature
UIGeometry
only.pub unsafe fn viewRespectsSystemMinimumLayoutMargins(&self) -> bool
pub unsafe fn setViewRespectsSystemMinimumLayoutMargins( &self, view_respects_system_minimum_layout_margins: bool )
pub unsafe fn viewLayoutMarginsDidChange(&self)
pub unsafe fn viewSafeAreaInsetsDidChange(&self)
pub unsafe fn addKeyCommand(&self, key_command: &UIKeyCommand)
Available on crate features
UICommand
and UIKeyCommand
and UIMenuElement
only.pub unsafe fn removeKeyCommand(&self, key_command: &UIKeyCommand)
Available on crate features
UICommand
and UIKeyCommand
and UIMenuElement
only.pub unsafe fn performsActionsWhilePresentingModally(&self) -> bool
pub unsafe fn extensionContext(&self) -> Option<Retained<NSExtensionContext>>
pub unsafe fn presentationController( &self ) -> Option<Retained<UIPresentationController>>
Available on crate feature
UIPresentationController
only.pub unsafe fn sheetPresentationController( &self ) -> Option<Retained<UISheetPresentationController>>
Available on crate features
UIPresentationController
and UISheetPresentationController
only.pub unsafe fn popoverPresentationController( &self ) -> Option<Retained<UIPopoverPresentationController>>
Available on crate features
UIPopoverPresentationController
and UIPresentationController
only.pub unsafe fn activePresentationController( &self ) -> Option<Retained<UIPresentationController>>
Available on crate feature
UIPresentationController
only.pub unsafe fn isModalInPresentation(&self) -> bool
pub unsafe fn setModalInPresentation(&self, modal_in_presentation: bool)
pub unsafe fn registerForPreviewingWithDelegate_sourceView( &self, delegate: &ProtocolObject<dyn UIViewControllerPreviewingDelegate>, source_view: &UIView ) -> Retained<ProtocolObject<dyn UIViewControllerPreviewing>>
👎Deprecated: UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.
Available on crate feature
UIView
only.pub unsafe fn unregisterForPreviewingWithContext( &self, previewing: &ProtocolObject<dyn UIViewControllerPreviewing> )
👎Deprecated: UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.
pub unsafe fn childViewControllerForScreenEdgesDeferringSystemGestures( &self ) -> Option<Retained<UIViewController>>
pub unsafe fn preferredScreenEdgesDeferringSystemGestures(&self) -> UIRectEdge
Available on crate feature
UIGeometry
only.pub fn setNeedsUpdateOfScreenEdgesDeferringSystemGestures(&self)
pub unsafe fn childViewControllerForHomeIndicatorAutoHidden( &self ) -> Option<Retained<UIViewController>>
pub unsafe fn prefersHomeIndicatorAutoHidden(&self) -> bool
pub fn setNeedsUpdateOfHomeIndicatorAutoHidden(&self)
pub unsafe fn childViewControllerForPointerLock( &self ) -> Option<Retained<UIViewController>>
pub unsafe fn prefersPointerLocked(&self) -> bool
pub unsafe fn setNeedsUpdateOfPrefersPointerLocked(&self)
Available on crate feature
UIContentConfiguration
only.Available on crate feature
UIContentConfiguration
only.Available on crate feature
UIContentUnavailableConfigurationState
only.Available on crate feature
UIContentUnavailableConfigurationState
only.pub unsafe fn previewActionItems( &self ) -> Retained<NSArray<ProtocolObject<dyn UIPreviewActionItem>>>
👎Deprecated: UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.
pub unsafe fn traitOverrides( &self ) -> Retained<ProtocolObject<dyn UITraitOverrides>>
Available on crate feature
UITraitCollection
only.pub unsafe fn updateTraitsIfNeeded(&self)
pub unsafe fn preferredContainerBackgroundStyle( &self ) -> UIContainerBackgroundStyle
pub unsafe fn childViewControllerForPreferredContainerBackgroundStyle( &self ) -> Option<Retained<UIViewController>>
pub unsafe fn setNeedsUpdateOfPreferredContainerBackgroundStyle(&self)
pub unsafe fn transitionCoordinator( &self ) -> Option<Retained<ProtocolObject<dyn UIViewControllerTransitionCoordinator>>>
Available on crate feature
UIViewControllerTransitionCoordinator
only.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> )
Available on crate features
UIEvent
and UITouch
only.pub unsafe fn touchesMoved_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )
Available on crate features
UIEvent
and UITouch
only.pub unsafe fn touchesEnded_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )
Available on crate features
UIEvent
and UITouch
only.pub unsafe fn touchesCancelled_withEvent( &self, touches: &NSSet<UITouch>, event: Option<&UIEvent> )
Available on crate features
UIEvent
and UITouch
only.pub unsafe fn touchesEstimatedPropertiesUpdated(&self, touches: &NSSet<UITouch>)
Available on crate feature
UITouch
only.pub unsafe fn pressesBegan_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )
Available on crate features
UIEvent
and UIPress
and UIPressesEvent
only.pub unsafe fn pressesChanged_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )
Available on crate features
UIEvent
and UIPress
and UIPressesEvent
only.pub unsafe fn pressesEnded_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )
Available on crate features
UIEvent
and UIPress
and UIPressesEvent
only.pub unsafe fn pressesCancelled_withEvent( &self, presses: &NSSet<UIPress>, event: Option<&UIPressesEvent> )
Available on crate features
UIEvent
and UIPress
and UIPressesEvent
only.pub unsafe fn motionBegan_withEvent( &self, motion: UIEventSubtype, event: Option<&UIEvent> )
Available on crate feature
UIEvent
only.pub unsafe fn motionEnded_withEvent( &self, motion: UIEventSubtype, event: Option<&UIEvent> )
Available on crate feature
UIEvent
only.pub unsafe fn motionCancelled_withEvent( &self, motion: UIEventSubtype, event: Option<&UIEvent> )
Available on crate feature
UIEvent
only.pub unsafe fn remoteControlReceivedWithEvent(&self, event: Option<&UIEvent>)
Available on crate feature
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> )
Available on crate feature
UIMenuBuilder
only.pub unsafe fn validateCommand(&self, command: &UICommand)
Available on crate features
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>>>
Available on crate features
UICommand
and UIKeyCommand
and UIMenuElement
only.pub unsafe fn inputView(&self) -> Option<Retained<UIView>>
Available on crate feature
UIView
only.pub unsafe fn inputAccessoryView(&self) -> Option<Retained<UIView>>
Available on crate feature
UIView
only.pub unsafe fn inputAssistantItem(&self) -> Retained<UITextInputAssistantItem>
Available on crate feature
UITextInput
only.pub unsafe fn inputViewController( &self ) -> Option<Retained<UIInputViewController>>
Available on crate feature
UIInputViewController
only.pub unsafe fn inputAccessoryViewController( &self ) -> Option<Retained<UIInputViewController>>
Available on crate feature
UIInputViewController
only.pub unsafe fn textInputMode(&self) -> Option<Retained<UITextInputMode>>
Available on crate feature
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>>>
Available on crate features
UIResponder_UIActivityItemsConfiguration
and UIActivityItemsConfigurationReading
only.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>§
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<AnyObject> for UIActivityViewController
impl AsMut<AnyObject> for UIActivityViewController
source§impl AsMut<NSObject> for UIActivityViewController
impl AsMut<NSObject> for UIActivityViewController
source§impl AsMut<UIResponder> for UIActivityViewController
impl AsMut<UIResponder> for UIActivityViewController
source§fn as_mut(&mut self) -> &mut UIResponder
fn as_mut(&mut self) -> &mut UIResponder
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<UIViewController> for UIActivityViewController
impl AsMut<UIViewController> for UIActivityViewController
source§fn as_mut(&mut self) -> &mut UIViewController
fn as_mut(&mut self) -> &mut UIViewController
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<AnyObject> for UIActivityViewController
impl AsRef<AnyObject> for UIActivityViewController
source§impl AsRef<NSObject> for UIActivityViewController
impl AsRef<NSObject> for UIActivityViewController
source§impl AsRef<UIResponder> for UIActivityViewController
impl AsRef<UIResponder> for UIActivityViewController
source§fn as_ref(&self) -> &UIResponder
fn as_ref(&self) -> &UIResponder
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<UIViewController> for UIActivityViewController
impl AsRef<UIViewController> for UIActivityViewController
source§fn as_ref(&self) -> &UIViewController
fn as_ref(&self) -> &UIViewController
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<AnyObject> for UIActivityViewController
impl Borrow<AnyObject> for UIActivityViewController
source§impl Borrow<NSObject> for UIActivityViewController
impl Borrow<NSObject> for UIActivityViewController
source§impl Borrow<UIResponder> for UIActivityViewController
impl Borrow<UIResponder> for UIActivityViewController
source§fn borrow(&self) -> &UIResponder
fn borrow(&self) -> &UIResponder
Immutably borrows from an owned value. Read more
source§impl Borrow<UIViewController> for UIActivityViewController
impl Borrow<UIViewController> for UIActivityViewController
source§fn borrow(&self) -> &UIViewController
fn borrow(&self) -> &UIViewController
Immutably borrows from an owned value. Read more
source§impl BorrowMut<AnyObject> for UIActivityViewController
impl BorrowMut<AnyObject> for UIActivityViewController
source§fn borrow_mut(&mut self) -> &mut AnyObject
fn borrow_mut(&mut self) -> &mut AnyObject
Mutably borrows from an owned value. Read more
source§impl BorrowMut<NSObject> for UIActivityViewController
impl BorrowMut<NSObject> for UIActivityViewController
source§fn borrow_mut(&mut self) -> &mut NSObject
fn borrow_mut(&mut self) -> &mut NSObject
Mutably borrows from an owned value. Read more
source§impl BorrowMut<UIResponder> for UIActivityViewController
impl BorrowMut<UIResponder> for UIActivityViewController
source§fn borrow_mut(&mut self) -> &mut UIResponder
fn borrow_mut(&mut self) -> &mut UIResponder
Mutably borrows from an owned value. Read more
source§impl BorrowMut<UIViewController> for UIActivityViewController
impl BorrowMut<UIViewController> for UIActivityViewController
source§fn borrow_mut(&mut self) -> &mut UIViewController
fn borrow_mut(&mut self) -> &mut UIViewController
Mutably borrows from an owned value. Read more
source§impl ClassType for UIActivityViewController
impl ClassType for UIActivityViewController
§type Super = UIViewController
type Super = UIViewController
The superclass of this class. Read more
§type Mutability = MainThreadOnly
type Mutability = MainThreadOnly
Whether the type is mutable or immutable. Read more
source§const NAME: &'static str = "UIActivityViewController"
const NAME: &'static str = "UIActivityViewController"
The name of the Objective-C class that this type represents. Read more
source§fn class() -> &'static AnyClass
fn class() -> &'static AnyClass
Get a reference to the Objective-C class that this type represents. Read more
source§fn as_super_mut(&mut self) -> &mut Self::Super
fn as_super_mut(&mut self) -> &mut Self::Super
Get a mutable reference to the superclass.
source§impl Debug for UIActivityViewController
impl Debug for UIActivityViewController
source§impl Deref for UIActivityViewController
impl Deref for UIActivityViewController
source§impl DerefMut for UIActivityViewController
impl DerefMut for UIActivityViewController
source§impl Hash for UIActivityViewController
impl Hash for UIActivityViewController
source§impl NSCoding for UIActivityViewController
impl NSCoding for UIActivityViewController
source§impl NSObjectProtocol for UIActivityViewController
impl NSObjectProtocol for UIActivityViewController
source§fn isEqual(&self, other: &AnyObject) -> bool
fn isEqual(&self, other: &AnyObject) -> bool
Check whether the object is equal to an arbitrary other object. Read more
source§fn hash(&self) -> usize
fn hash(&self) -> usize
An integer that can be used as a table address in a hash table
structure. Read more
source§fn isKindOfClass(&self, cls: &AnyClass) -> bool
fn isKindOfClass(&self, cls: &AnyClass) -> bool
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
fn is_kind_of<T>(&self) -> bool
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
fn isMemberOfClass(&self, cls: &AnyClass) -> bool
Check if the object is an instance of a specific class, without
checking subclasses. Read more
source§fn respondsToSelector(&self, aSelector: Sel) -> bool
fn respondsToSelector(&self, aSelector: Sel) -> bool
Check whether the object implements or inherits a method with the
given selector. Read more
source§fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
Check whether the object conforms to a given protocol. Read more
source§fn debugDescription(&self) -> Retained<NSObject>
fn debugDescription(&self) -> Retained<NSObject>
A textual representation of the object to use when debugging. Read more
source§impl PartialEq for UIActivityViewController
impl PartialEq for UIActivityViewController
source§fn eq(&self, other: &UIActivityViewController) -> bool
fn eq(&self, other: &UIActivityViewController) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RefEncode for UIActivityViewController
impl RefEncode for UIActivityViewController
source§const ENCODING_REF: Encoding = <UIViewController as ::objc2::RefEncode>::ENCODING_REF
const ENCODING_REF: Encoding = <UIViewController as ::objc2::RefEncode>::ENCODING_REF
The Objective-C type-encoding for a reference of this type. Read more
source§impl UIContentContainer for UIActivityViewController
impl UIContentContainer for UIActivityViewController
unsafe fn preferredContentSize(&self) -> CGSize
unsafe fn preferredContentSizeDidChangeForChildContentContainer( &self, container: &ProtocolObject<dyn UIContentContainer> )
unsafe fn systemLayoutFittingSizeDidChangeForChildContentContainer( &self, container: &ProtocolObject<dyn UIContentContainer> )
unsafe fn sizeForChildContentContainer_withParentContainerSize( &self, container: &ProtocolObject<dyn UIContentContainer>, parent_size: CGSize ) -> CGSize
source§unsafe fn viewWillTransitionToSize_withTransitionCoordinator(
&self,
size: CGSize,
coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator>
)
unsafe fn viewWillTransitionToSize_withTransitionCoordinator( &self, size: CGSize, coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator> )
Available on crate feature
UIViewControllerTransitionCoordinator
only.source§unsafe fn willTransitionToTraitCollection_withTransitionCoordinator(
&self,
new_collection: &UITraitCollection,
coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator>
)
unsafe fn willTransitionToTraitCollection_withTransitionCoordinator( &self, new_collection: &UITraitCollection, coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator> )
Available on crate features
UITraitCollection
and UIViewControllerTransitionCoordinator
only.source§impl UIFocusEnvironment for UIActivityViewController
Available on crate feature UIFocus
only.
impl UIFocusEnvironment for UIActivityViewController
Available on crate feature
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 )
Available on crate feature
UIFocusAnimationCoordinator
only.unsafe fn soundIdentifierForFocusUpdateInContext( &self, context: &UIFocusUpdateContext ) -> Option<Retained<UIFocusSoundIdentifier>>
source§unsafe fn preferredFocusedView(&self) -> Option<Retained<UIView>>
unsafe fn preferredFocusedView(&self) -> Option<Retained<UIView>>
👎Deprecated
Available on crate feature
UIView
only.unsafe fn focusGroupIdentifier(&self) -> Option<Retained<NSString>>
source§impl UIResponderStandardEditActions for UIActivityViewController
impl UIResponderStandardEditActions for UIActivityViewController
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 )
Available on crate feature
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 UITraitEnvironment for UIActivityViewController
Available on crate feature UITraitCollection
only.
impl UITraitEnvironment for UIActivityViewController
Available on crate feature
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> )
👎Deprecated: Use the trait change registration APIs declared in the UITraitChangeObservable protocol
impl Eq for UIActivityViewController
impl Message for UIActivityViewController
impl StructuralPartialEq for UIActivityViewController
impl UIAppearanceContainer for UIActivityViewController
Available on crate feature
UIAppearance
only.Auto Trait Implementations§
impl !Freeze for UIActivityViewController
impl !RefUnwindSafe for UIActivityViewController
impl !Send for UIActivityViewController
impl !Sync for UIActivityViewController
impl !Unpin for UIActivityViewController
impl !UnwindSafe for UIActivityViewController
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
Mutably borrows from an owned value. Read more
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
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
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