Trait objc2_app_kit::NSPasteboardWriting

source ·
pub unsafe trait NSPasteboardWriting: NSObjectProtocol {
    // Provided methods
    unsafe fn writableTypesForPasteboard(
        &self,
        pasteboard: &NSPasteboard
    ) -> Retained<NSArray<NSPasteboardType>>
       where Self: Sized + Message { ... }
    unsafe fn writingOptionsForType_pasteboard(
        &self,
        type: &NSPasteboardType,
        pasteboard: &NSPasteboard
    ) -> NSPasteboardWritingOptions
       where Self: Sized + Message { ... }
    unsafe fn pasteboardPropertyListForType(
        &self,
        type: &NSPasteboardType
    ) -> Option<Retained<AnyObject>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSPasteboard only.

Provided Methods§

Trait Implementations§

source§

impl ProtocolType for dyn NSPasteboardWriting

source§

const NAME: &'static str = "NSPasteboardWriting"

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 NSPasteboardWriting

Implementations on Foreign Types§

source§

impl NSPasteboardWriting for NSAttributedString

Available on crate feature NSAttributedString only.
source§

impl NSPasteboardWriting for NSString

source§

impl NSPasteboardWriting for NSURL

source§

impl<T> NSPasteboardWriting for ProtocolObject<T>

Implementors§

source§

impl NSPasteboardWriting for NSColor

Available on crate feature NSColor only.
source§

impl NSPasteboardWriting for NSFilePromiseProvider

Available on crate feature NSFilePromiseProvider only.
source§

impl NSPasteboardWriting for NSImage

Available on crate feature NSImage only.
source§

impl NSPasteboardWriting for NSPasteboardItem

Available on crate feature NSPasteboardItem only.
source§

impl NSPasteboardWriting for NSSound

Available on crate feature NSSound only.