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§
Sourceunsafe fn objectWithRestorationIdentifierPath_coder(
identifier_components: &NSArray<NSString>,
coder: &NSCoder,
mtm: MainThreadMarker,
) -> Option<Retained<ProtocolObject<dyn UIStateRestoring>>>
unsafe fn objectWithRestorationIdentifierPath_coder( identifier_components: &NSArray<NSString>, coder: &NSCoder, mtm: MainThreadMarker, ) -> Option<Retained<ProtocolObject<dyn UIStateRestoring>>>
§Safety
coder possibly has further requirements.
Trait Implementations§
Source§impl ProtocolType for dyn UIObjectRestoration
impl ProtocolType for dyn UIObjectRestoration
impl<T> ImplementedBy<T> for dyn UIObjectRestoration
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".