Trait NSPasteboardItemDataProvider

Source
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.
Expand description

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. Read more
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§