Trait NSItemProviderWriting

Source
pub unsafe trait NSItemProviderWriting: NSObjectProtocol {
    // Provided methods
    unsafe fn writableTypeIdentifiersForItemProvider_class(    ) -> Retained<NSArray<NSString>>
       where Self: Sized + ClassType { ... }
    unsafe fn writableTypeIdentifiersForItemProvider(
        &self,
    ) -> Retained<NSArray<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn itemProviderVisibilityForRepresentationWithTypeIdentifier_class(
        type_identifier: &NSString,
    ) -> NSItemProviderRepresentationVisibility
       where Self: Sized + ClassType { ... }
    unsafe fn itemProviderVisibilityForRepresentationWithTypeIdentifier(
        &self,
        type_identifier: &NSString,
    ) -> NSItemProviderRepresentationVisibility
       where Self: Sized + Message { ... }
    unsafe fn loadDataWithTypeIdentifier_forItemProviderCompletionHandler(
        &self,
        type_identifier: &NSString,
        completion_handler: &DynBlock<dyn Fn(*mut NSData, *mut NSError)>,
    ) -> Option<Retained<NSProgress>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSItemProvider only.
Expand description

Provided Methods§

Source

unsafe fn writableTypeIdentifiersForItemProvider_class() -> Retained<NSArray<NSString>>
where Self: Sized + ClassType,

Available on crate features NSArray and NSString only.
Source

unsafe fn writableTypeIdentifiersForItemProvider( &self, ) -> Retained<NSArray<NSString>>
where Self: Sized + Message,

Available on crate features NSArray and NSString only.
Source

unsafe fn itemProviderVisibilityForRepresentationWithTypeIdentifier_class( type_identifier: &NSString, ) -> NSItemProviderRepresentationVisibility
where Self: Sized + ClassType,

Available on crate feature NSString only.
Source

unsafe fn itemProviderVisibilityForRepresentationWithTypeIdentifier( &self, type_identifier: &NSString, ) -> NSItemProviderRepresentationVisibility
where Self: Sized + Message,

Available on crate feature NSString only.
Source

unsafe fn loadDataWithTypeIdentifier_forItemProviderCompletionHandler( &self, type_identifier: &NSString, completion_handler: &DynBlock<dyn Fn(*mut NSData, *mut NSError)>, ) -> Option<Retained<NSProgress>>
where Self: Sized + Message,

Available on crate features NSData and NSError and NSProgress and NSString and block2 only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSItemProviderWriting

Source§

const NAME: &'static str = "NSItemProviderWriting"

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 NSItemProviderWriting

Implementations on Foreign Types§

Source§

impl<T> NSItemProviderWriting for ProtocolObject<T>

Implementors§

Source§

impl NSItemProviderWriting for NSString

Available on crate feature NSString only.
Source§

impl NSItemProviderWriting for NSURL

Available on crate feature NSURL only.