pub unsafe trait NSPasteboardItemDataProvider: NSObjectProtocol {
    // Provided methods
    unsafe fn pasteboard_item_provideDataForType(
        &self,
        pasteboard: Option<&NSPasteboard>,
        item: &NSPasteboardItem,
        type: &NSPasteboardType
    )
       where Self: Sized + Message { ... }
    unsafe fn pasteboardFinishedWithDataProvider(
        &self,
        pasteboard: &NSPasteboard
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSPasteboardItem only.

Provided Methods§

source

unsafe fn pasteboard_item_provideDataForType( &self, pasteboard: Option<&NSPasteboard>, item: &NSPasteboardItem, type: &NSPasteboardType )
where Self: Sized + Message,

Available on crate feature NSPasteboard only.
source

unsafe fn pasteboardFinishedWithDataProvider(&self, pasteboard: &NSPasteboard)
where Self: Sized + Message,

Available on crate feature NSPasteboard only.

Trait Implementations§

source§

impl ProtocolType for dyn NSPasteboardItemDataProvider

source§

const NAME: &'static str = "NSPasteboardItemDataProvider"

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 NSPasteboardItemDataProvider

Implementations on Foreign Types§

source§

impl<T> NSPasteboardItemDataProvider for ProtocolObject<T>

Implementors§