pub unsafe trait NSPasteboardReading: NSObjectProtocol {
// Provided methods
unsafe fn readableTypesForPasteboard(
pasteboard: &NSPasteboard,
) -> Retained<NSArray<NSPasteboardType>>
where Self: Sized + ClassType { ... }
unsafe fn readingOptionsForType_pasteboard(
type: &NSPasteboardType,
pasteboard: &NSPasteboard,
) -> NSPasteboardReadingOptions
where Self: Sized + ClassType { ... }
unsafe fn initWithPasteboardPropertyList_ofType(
this: Allocated<Self>,
property_list: &AnyObject,
type: &NSPasteboardType,
) -> Option<Retained<Self>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSPasteboard
only.Expand description
Provided Methods§
unsafe fn readableTypesForPasteboard( pasteboard: &NSPasteboard, ) -> Retained<NSArray<NSPasteboardType>>
unsafe fn readingOptionsForType_pasteboard( type: &NSPasteboardType, pasteboard: &NSPasteboard, ) -> NSPasteboardReadingOptions
unsafe fn initWithPasteboardPropertyList_ofType( this: Allocated<Self>, property_list: &AnyObject, type: &NSPasteboardType, ) -> Option<Retained<Self>>
Trait Implementations§
Source§impl ProtocolType for dyn NSPasteboardReading
impl ProtocolType for dyn NSPasteboardReading
impl<T> ImplementedBy<T> for dyn NSPasteboardReading
Implementations on Foreign Types§
impl NSPasteboardReading for NSAttributedString
Available on crate feature
NSAttributedString
only.impl NSPasteboardReading for NSString
impl NSPasteboardReading for NSURL
impl<T> NSPasteboardReading for ProtocolObject<T>where
T: ?Sized + NSPasteboardReading,
Implementors§
impl NSPasteboardReading for NSColor
Available on crate feature
NSColor
only.impl NSPasteboardReading for NSFilePromiseReceiver
Available on crate feature
NSFilePromiseReceiver
only.impl NSPasteboardReading for NSImage
Available on crate feature
NSImage
only.impl NSPasteboardReading for NSPasteboardItem
Available on crate feature
NSPasteboardItem
only.impl NSPasteboardReading for NSSound
Available on crate feature
NSSound
only.