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§
unsafe fn makeContentView(&self) -> Retained<UIView>
Available on crate features
UIResponder
and UIView
only.unsafe fn updatedConfigurationForState( &self, state: &ProtocolObject<dyn UIConfigurationState> ) -> Retained<Self>
Available on crate feature
UIConfigurationState
only.Trait Implementations§
source§impl ProtocolType for dyn UIContentConfiguration
impl ProtocolType for dyn UIContentConfiguration
impl<T> ImplementedBy<T> for dyn UIContentConfiguration
Implementations on Foreign Types§
impl<T> UIContentConfiguration for ProtocolObject<T>where
T: ?Sized + UIContentConfiguration,
Implementors§
impl UIContentConfiguration for UIListContentConfiguration
Available on crate feature
UIListContentConfiguration
only.