pub unsafe trait UIContentView: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn configuration(
&self,
) -> Retained<ProtocolObject<dyn UIContentConfiguration>>
where Self: Sized + Message { ... }
fn setConfiguration(
&self,
configuration: &ProtocolObject<dyn UIContentConfiguration>,
)
where Self: Sized + Message { ... }
fn supportsConfiguration(
&self,
configuration: &ProtocolObject<dyn UIContentConfiguration>,
) -> bool
where Self: Sized + Message { ... }
}Available on crate feature
UIContentConfiguration only.Expand description
Provided Methods§
Sourcefn configuration(&self) -> Retained<ProtocolObject<dyn UIContentConfiguration>>
fn configuration(&self) -> Retained<ProtocolObject<dyn UIContentConfiguration>>
Returns the current configuration of the view. Setting this property applies the new configuration to the view.
Sourcefn setConfiguration(
&self,
configuration: &ProtocolObject<dyn UIContentConfiguration>,
)
fn setConfiguration( &self, configuration: &ProtocolObject<dyn UIContentConfiguration>, )
Setter for configuration.
This is copied when set.
Sourcefn supportsConfiguration(
&self,
configuration: &ProtocolObject<dyn UIContentConfiguration>,
) -> bool
fn supportsConfiguration( &self, configuration: &ProtocolObject<dyn UIContentConfiguration>, ) -> bool
Whether this view is compatible with the provided configuration, meaning the view supports
it being set to the configuration property and is capable of updating itself for the
configuration. If not implemented, the view is assumed to be compatible with configuration
classes that match the class of the view’s existing configuration.
Trait Implementations§
Source§impl ProtocolType for dyn UIContentView
impl ProtocolType for dyn UIContentView
impl<T> ImplementedBy<T> for dyn UIContentView
Implementations on Foreign Types§
impl<T> UIContentView for ProtocolObject<T>where
T: ?Sized + UIContentView,
Implementors§
impl UIContentView for UIListContentView
Available on crate feature
UIListContentConfiguration only.