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§
unsafe fn writableTypesForPasteboard( &self, pasteboard: &NSPasteboard ) -> Retained<NSArray<NSPasteboardType>>
unsafe fn writingOptionsForType_pasteboard( &self, type: &NSPasteboardType, pasteboard: &NSPasteboard ) -> NSPasteboardWritingOptions
unsafe 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.