Skip to main content

NSUserActivityDelegate

Trait NSUserActivityDelegate 

Source
pub unsafe trait NSUserActivityDelegate: NSObjectProtocol {
    // Provided methods
    fn userActivityWillSave(&self, user_activity: &NSUserActivity)
       where Self: Sized + Message { ... }
    fn userActivityWasContinued(&self, user_activity: &NSUserActivity)
       where Self: Sized + Message { ... }
    fn userActivity_didReceiveInputStream_outputStream(
        &self,
        user_activity: &NSUserActivity,
        input_stream: &NSInputStream,
        output_stream: &NSOutputStream,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSUserActivity only.
Expand description

Provided Methods§

Source

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

Source

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

Source

fn userActivity_didReceiveInputStream_outputStream( &self, user_activity: &NSUserActivity, input_stream: &NSInputStream, output_stream: &NSOutputStream, )
where Self: Sized + Message,

Available on crate feature NSStream only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSUserActivityDelegate

Source§

impl ProtocolType for dyn NSUserActivityDelegate

Source§

const NAME: &'static str = "NSUserActivityDelegate"

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> NSUserActivityDelegate for ProtocolObject<T>

Implementors§