Trait objc2_ui_kit::UIContentContainer

source ·
pub unsafe trait UIContentContainer: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn preferredContentSize(&self) -> CGSize
       where Self: Sized + Message { ... }
    unsafe fn preferredContentSizeDidChangeForChildContentContainer(
        &self,
        container: &ProtocolObject<dyn UIContentContainer>
    )
       where Self: Sized + Message { ... }
    unsafe fn systemLayoutFittingSizeDidChangeForChildContentContainer(
        &self,
        container: &ProtocolObject<dyn UIContentContainer>
    )
       where Self: Sized + Message { ... }
    unsafe fn sizeForChildContentContainer_withParentContainerSize(
        &self,
        container: &ProtocolObject<dyn UIContentContainer>,
        parent_size: CGSize
    ) -> CGSize
       where Self: Sized + Message { ... }
    unsafe fn viewWillTransitionToSize_withTransitionCoordinator(
        &self,
        size: CGSize,
        coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator>
    )
       where Self: Sized + Message { ... }
    unsafe fn willTransitionToTraitCollection_withTransitionCoordinator(
        &self,
        new_collection: &UITraitCollection,
        coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator>
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIViewController only.

Provided Methods§

source

unsafe fn preferredContentSize(&self) -> CGSize
where Self: Sized + Message,

source

unsafe fn preferredContentSizeDidChangeForChildContentContainer( &self, container: &ProtocolObject<dyn UIContentContainer> )
where Self: Sized + Message,

source

unsafe fn systemLayoutFittingSizeDidChangeForChildContentContainer( &self, container: &ProtocolObject<dyn UIContentContainer> )
where Self: Sized + Message,

source

unsafe fn sizeForChildContentContainer_withParentContainerSize( &self, container: &ProtocolObject<dyn UIContentContainer>, parent_size: CGSize ) -> CGSize
where Self: Sized + Message,

source

unsafe fn viewWillTransitionToSize_withTransitionCoordinator( &self, size: CGSize, coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator> )
where Self: Sized + Message,

Available on crate feature UIViewControllerTransitionCoordinator only.
source

unsafe fn willTransitionToTraitCollection_withTransitionCoordinator( &self, new_collection: &UITraitCollection, coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator> )
where Self: Sized + Message,

Available on crate features UITraitCollection and UIViewControllerTransitionCoordinator only.

Trait Implementations§

source§

impl ProtocolType for dyn UIContentContainer

source§

const NAME: &'static str = "UIContentContainer"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

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

impl<T> ImplementedBy<T> for dyn UIContentContainer

Implementations on Foreign Types§

source§

impl<T> UIContentContainer for ProtocolObject<T>

Implementors§

source§

impl UIContentContainer for UIActivityViewController

Available on crate features UIResponder and UIActivityViewController only.
source§

impl UIContentContainer for UIAlertController

Available on crate features UIResponder and UIAlertController only.
source§

impl UIContentContainer for UICloudSharingController

Available on crate features UIResponder and UICloudSharingController only.
source§

impl UIContentContainer for UICollectionViewController

Available on crate features UIResponder and UICollectionViewController only.
source§

impl UIContentContainer for UIColorPickerViewController

Available on crate features UIResponder and UIColorPickerViewController only.
source§

impl UIContentContainer for UIDocumentBrowserViewController

Available on crate features UIResponder and UIDocumentBrowserViewController only.
source§

impl UIContentContainer for UIDocumentMenuViewController

Available on crate features UIResponder and UIDocumentMenuViewController only.
source§

impl UIContentContainer for UIDocumentPickerExtensionViewController

Available on crate features UIResponder and UIDocumentPickerExtensionViewController only.
source§

impl UIContentContainer for UIDocumentPickerViewController

Available on crate features UIResponder and UIDocumentPickerViewController only.
source§

impl UIContentContainer for UIDocumentViewController

Available on crate features UIResponder and UIDocumentViewController only.
source§

impl UIContentContainer for UIFontPickerViewController

Available on crate features UIResponder and UIFontPickerViewController only.
source§

impl UIContentContainer for UIImagePickerController

Available on crate features UINavigationController and UIResponder and UIImagePickerController only.
source§

impl UIContentContainer for UIInputViewController

Available on crate features UIResponder and UIInputViewController only.
source§

impl UIContentContainer for UINavigationController

Available on crate features UIResponder and UINavigationController only.
source§

impl UIContentContainer for UIPageViewController

Available on crate features UIResponder and UIPageViewController only.
source§

impl UIContentContainer for UIPopoverPresentationController

Available on crate features UIPresentationController and UIPopoverPresentationController only.
source§

impl UIContentContainer for UIPresentationController

Available on crate feature UIPresentationController only.
source§

impl UIContentContainer for UIReferenceLibraryViewController

Available on crate features UIResponder and UIReferenceLibraryViewController only.
source§

impl UIContentContainer for UISearchContainerViewController

Available on crate features UIResponder and UISearchContainerViewController only.
source§

impl UIContentContainer for UISearchController

Available on crate features UIResponder and UISearchController only.
source§

impl UIContentContainer for UISheetPresentationController

Available on crate features UIPresentationController and UISheetPresentationController only.
source§

impl UIContentContainer for UISplitViewController

Available on crate features UIResponder and UISplitViewController only.
source§

impl UIContentContainer for UITabBarController

Available on crate features UIResponder and UITabBarController only.
source§

impl UIContentContainer for UITableViewController

Available on crate features UIResponder and UITableViewController only.
source§

impl UIContentContainer for UIVideoEditorController

Available on crate features UINavigationController and UIResponder and UIVideoEditorController only.
source§

impl UIContentContainer for UIViewController

Available on crate feature UIResponder only.