Trait NSPasteboardReading

Source
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§

Trait Implementations§

Source§

impl ProtocolType for dyn NSPasteboardReading

Source§

const NAME: &'static str = "NSPasteboardReading"

The name of the Objective-C protocol that this type represents. Read more
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 NSPasteboardReading

Implementations on Foreign Types§

Source§

impl NSPasteboardReading for NSAttributedString

Available on crate feature NSAttributedString only.
Source§

impl NSPasteboardReading for NSString

Source§

impl NSPasteboardReading for NSURL

Source§

impl<T> NSPasteboardReading for ProtocolObject<T>

Implementors§

Source§

impl NSPasteboardReading for NSColor

Available on crate feature NSColor only.
Source§

impl NSPasteboardReading for NSFilePromiseReceiver

Available on crate feature NSFilePromiseReceiver only.
Source§

impl NSPasteboardReading for NSImage

Available on crate feature NSImage only.
Source§

impl NSPasteboardReading for NSPasteboardItem

Available on crate feature NSPasteboardItem only.
Source§

impl NSPasteboardReading for NSSound

Available on crate feature NSSound only.