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: &Block<dyn Fn(*mut NSData, *mut NSError)>
) -> Option<Retained<NSProgress>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSItemProvider
only.Provided Methods§
unsafe fn writableTypeIdentifiersForItemProvider_class( ) -> Retained<NSArray<NSString>>
Available on crate features
NSArray
and NSString
only.unsafe fn writableTypeIdentifiersForItemProvider( &self ) -> Retained<NSArray<NSString>>
Available on crate features
NSArray
and NSString
only.unsafe fn itemProviderVisibilityForRepresentationWithTypeIdentifier_class( type_identifier: &NSString ) -> NSItemProviderRepresentationVisibility
Available on crate feature
NSString
only.unsafe fn itemProviderVisibilityForRepresentationWithTypeIdentifier( &self, type_identifier: &NSString ) -> NSItemProviderRepresentationVisibility
Available on crate feature
NSString
only.unsafe fn loadDataWithTypeIdentifier_forItemProviderCompletionHandler( &self, type_identifier: &NSString, completion_handler: &Block<dyn Fn(*mut NSData, *mut NSError)> ) -> Option<Retained<NSProgress>>
Available on crate features
NSData
and NSError
and NSProgress
and NSString
and block2
only.Trait Implementations§
source§impl ProtocolType for dyn NSItemProviderWriting
impl ProtocolType for dyn NSItemProviderWriting
impl<T> ImplementedBy<T> for dyn NSItemProviderWriting
Implementations on Foreign Types§
impl<T> NSItemProviderWriting for ProtocolObject<T>where
T: ?Sized + NSItemProviderWriting,
Implementors§
impl NSItemProviderWriting for NSString
Available on crate feature
NSString
only.impl NSItemProviderWriting for NSURL
Available on crate feature
NSURL
only.