Trait objc2_ui_kit::UIContentConfiguration

source ·
pub unsafe trait UIContentConfiguration: NSCopying + NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn makeContentView(&self) -> Retained<UIView>
       where Self: Sized + Message { ... }
    unsafe fn updatedConfigurationForState(
        &self,
        state: &ProtocolObject<dyn UIConfigurationState>
    ) -> Retained<Self>
       where Self: Sized + Message { ... }
}
Available on crate feature UIContentConfiguration only.

Provided Methods§

source

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

Available on crate features UIResponder and UIView only.
source

unsafe fn updatedConfigurationForState( &self, state: &ProtocolObject<dyn UIConfigurationState> ) -> Retained<Self>
where Self: Sized + Message,

Available on crate feature UIConfigurationState only.

Trait Implementations§

source§

impl ProtocolType for dyn UIContentConfiguration

source§

const NAME: &'static str = "UIContentConfiguration"

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 UIContentConfiguration

Implementations on Foreign Types§

source§

impl<T> UIContentConfiguration for ProtocolObject<T>

Implementors§

source§

impl UIContentConfiguration for UIContentUnavailableConfiguration

Available on crate feature UIContentUnavailableConfiguration only.
source§

impl UIContentConfiguration for UIListContentConfiguration

Available on crate feature UIListContentConfiguration only.