Trait UIObjectRestoration

Source
pub unsafe trait UIObjectRestoration: MainThreadOnly {
    // 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.
Expand description

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. Read more
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§