pub unsafe trait NSItemProviderReading: NSObjectProtocol {
// Provided methods
unsafe fn readableTypeIdentifiersForItemProvider(
) -> Retained<NSArray<NSString>>
where Self: Sized + ClassType { ... }
unsafe fn objectWithItemProviderData_typeIdentifier_error(
data: &NSData,
type_identifier: &NSString
) -> Result<Retained<Self>, Retained<NSError>>
where Self: Sized + ClassType { ... }
}
Available on crate feature
NSItemProvider
only.Provided Methods§
unsafe fn readableTypeIdentifiersForItemProvider( ) -> Retained<NSArray<NSString>>
Available on crate features
NSArray
and NSString
only.unsafe fn objectWithItemProviderData_typeIdentifier_error( data: &NSData, type_identifier: &NSString ) -> Result<Retained<Self>, Retained<NSError>>
Available on crate features
NSData
and NSError
and NSString
only.Trait Implementations§
source§impl ProtocolType for dyn NSItemProviderReading
impl ProtocolType for dyn NSItemProviderReading
impl<T> ImplementedBy<T> for dyn NSItemProviderReading
Implementations on Foreign Types§
impl<T> NSItemProviderReading for ProtocolObject<T>where
T: ?Sized + NSItemProviderReading,
Implementors§
impl NSItemProviderReading for NSString
Available on crate feature
NSString
only.impl NSItemProviderReading for NSURL
Available on crate feature
NSURL
only.