Trait objc2_app_kit::NSURLNSPasteboardSupport

source ·
pub unsafe trait NSURLNSPasteboardSupport: ClassType {
    // Provided methods
    unsafe fn URLFromPasteboard(paste_board: &NSPasteboard) -> Option<Id<NSURL>>
       where Self: Sized + ClassType { ... }
    unsafe fn writeToPasteboard(&self, paste_board: &NSPasteboard)
       where Self: Sized + Message { ... }
}
Available on crate feature NSPasteboard only.
Expand description

Category “NSPasteboardSupport” on NSURL.

Provided Methods§

source

unsafe fn URLFromPasteboard(paste_board: &NSPasteboard) -> Option<Id<NSURL>>
where Self: Sized + ClassType,

source

unsafe fn writeToPasteboard(&self, paste_board: &NSPasteboard)
where Self: Sized + Message,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NSURLNSPasteboardSupport for NSURL

Implementors§