Trait objc2_ui_kit::UIObjectRestoration

source ·
pub unsafe trait UIObjectRestoration: IsMainThreadOnly {
    // Provided method
    unsafe fn objectWithRestorationIdentifierPath_coder(
        identifier_components: &NSArray<NSString>,
        coder: &NSCoder,
        mtm: MainThreadMarker
    ) -> Option<Retained<ProtocolObject<dyn UIStateRestoring>>>
       where Self: Sized + ClassType { ... }
}
Available on crate feature UIStateRestoration only.

Provided Methods§

Trait Implementations§

source§

impl ProtocolType for dyn UIObjectRestoration

source§

const NAME: &'static str = "UIObjectRestoration"

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 UIObjectRestoration

Implementations on Foreign Types§

source§

impl<T> UIObjectRestoration for ProtocolObject<T>

Implementors§