pub unsafe trait NSPreviewRepresentableActivityItem: NSObjectProtocol {
    // Provided methods
    unsafe fn item(&self) -> Retained<AnyObject>
       where Self: Sized + Message { ... }
    unsafe fn title(&self) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn imageProvider(&self) -> Option<Retained<NSItemProvider>>
       where Self: Sized + Message { ... }
    unsafe fn iconProvider(&self) -> Option<Retained<NSItemProvider>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSPreviewRepresentingActivityItem only.

Provided Methods§

source

unsafe fn item(&self) -> Retained<AnyObject>
where Self: Sized + Message,

source

unsafe fn title(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source

unsafe fn imageProvider(&self) -> Option<Retained<NSItemProvider>>
where Self: Sized + Message,

source

unsafe fn iconProvider(&self) -> Option<Retained<NSItemProvider>>
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSPreviewRepresentableActivityItem

source§

const NAME: &'static str = "NSPreviewRepresentableActivityItem"

The name of the Objective-C protocol that this type represents.
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 NSPreviewRepresentableActivityItem

Implementations on Foreign Types§

source§

impl<T> NSPreviewRepresentableActivityItem for ProtocolObject<T>

Implementors§