pub unsafe trait UIUserActivityRestoring: NSObjectProtocol + MainThreadOnly {
// Provided method
fn restoreUserActivityState(&self, user_activity: &NSUserActivity)
where Self: Sized + Message { ... }
}Available on crate feature
UIUserActivity only.Expand description
Provided Methods§
fn restoreUserActivityState(&self, user_activity: &NSUserActivity)
Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIUserActivityRestoring
Source§impl ProtocolType for dyn UIUserActivityRestoring
impl ProtocolType for dyn UIUserActivityRestoring
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl<T> UIUserActivityRestoring for ProtocolObject<T>where
T: ?Sized + UIUserActivityRestoring,
Implementors§
impl UIUserActivityRestoring for UIDocument
Available on crate feature
UIDocument only.impl UIUserActivityRestoring for UIResponder
Available on crate feature
UIResponder only.