pub unsafe trait NSPasteboardWriting: NSObjectProtocol {
// Provided methods
fn writableTypesForPasteboard(
&self,
pasteboard: &NSPasteboard,
) -> Retained<NSArray<NSPasteboardType>>
where Self: Sized + Message { ... }
fn writingOptionsForType_pasteboard(
&self,
type: &NSPasteboardType,
pasteboard: &NSPasteboard,
) -> NSPasteboardWritingOptions
where Self: Sized + Message { ... }
fn pasteboardPropertyListForType(
&self,
type: &NSPasteboardType,
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
}Available on crate feature
NSPasteboard only.Expand description
Provided Methods§
fn writableTypesForPasteboard( &self, pasteboard: &NSPasteboard, ) -> Retained<NSArray<NSPasteboardType>>
fn writingOptionsForType_pasteboard( &self, type: &NSPasteboardType, pasteboard: &NSPasteboard, ) -> NSPasteboardWritingOptions
fn pasteboardPropertyListForType( &self, type: &NSPasteboardType, ) -> Option<Retained<AnyObject>>
Trait Implementations§
Source§impl ProtocolType for dyn NSPasteboardWriting
impl ProtocolType for dyn NSPasteboardWriting
impl<T> ImplementedBy<T> for dyn NSPasteboardWriting
Implementations on Foreign Types§
impl NSPasteboardWriting for NSAttributedString
Available on crate feature
NSAttributedString only.impl NSPasteboardWriting for NSString
impl NSPasteboardWriting for NSURL
impl<T> NSPasteboardWriting for ProtocolObject<T>where
T: ?Sized + NSPasteboardWriting,
Implementors§
impl NSPasteboardWriting for NSColor
Available on crate feature
NSColor only.impl NSPasteboardWriting for NSFilePromiseProvider
Available on crate feature
NSFilePromiseProvider only.impl NSPasteboardWriting for NSImage
Available on crate feature
NSImage only.impl NSPasteboardWriting for NSPasteboardItem
Available on crate feature
NSPasteboardItem only.impl NSPasteboardWriting for NSSound
Available on crate feature
NSSound only.