Trait objc2_ui_kit::UIContentView

source ·
pub unsafe trait UIContentView: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn configuration(
        &self
    ) -> Retained<ProtocolObject<dyn UIContentConfiguration>>
       where Self: Sized + Message { ... }
    unsafe fn setConfiguration(
        &self,
        configuration: &ProtocolObject<dyn UIContentConfiguration>
    )
       where Self: Sized + Message { ... }
    unsafe fn supportsConfiguration(
        &self,
        configuration: &ProtocolObject<dyn UIContentConfiguration>
    ) -> bool
       where Self: Sized + Message { ... }
}
Available on crate feature UIContentConfiguration only.

Provided Methods§

source

unsafe fn configuration( &self ) -> Retained<ProtocolObject<dyn UIContentConfiguration>>
where Self: Sized + Message,

source

unsafe fn setConfiguration( &self, configuration: &ProtocolObject<dyn UIContentConfiguration> )
where Self: Sized + Message,

source

unsafe fn supportsConfiguration( &self, configuration: &ProtocolObject<dyn UIContentConfiguration> ) -> bool
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UIContentView

source§

const NAME: &'static str = "UIContentView"

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 UIContentView
where T: ?Sized + Message + UIContentView,

Implementations on Foreign Types§

source§

impl<T> UIContentView for ProtocolObject<T>
where T: ?Sized + UIContentView,

Implementors§

source§

impl UIContentView for UIContentUnavailableView

Available on crate features UIResponder and UIView and UIContentUnavailableView only.
source§

impl UIContentView for UIListContentView

Available on crate features UIResponder and UIView and UIListContentConfiguration only.