Skip to main content

NSUserActivityRestoring

Trait NSUserActivityRestoring 

Source
pub unsafe trait NSUserActivityRestoring: NSObjectProtocol + MainThreadOnly {
    // Provided method
    fn restoreUserActivityState(&self, user_activity: &NSUserActivity)
       where Self: Sized + Message { ... }
}
Available on crate feature NSUserActivity only.
Expand description

Provided Methods§

Source

fn restoreUserActivityState(&self, user_activity: &NSUserActivity)
where Self: Sized + Message,

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSUserActivityRestoring

Source§

impl ProtocolType for dyn NSUserActivityRestoring

Source§

const NAME: &'static str = "NSUserActivityRestoring"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NSUserActivityRestoring for ProtocolObject<T>

Implementors§