pub unsafe trait NSItemProviderReading: NSObjectProtocol {
// Provided methods
fn readableTypeIdentifiersForItemProvider() -> Retained<NSArray<NSString>>
where Self: Sized + ClassType { ... }
fn objectWithItemProviderData_typeIdentifier_error(
data: &NSData,
type_identifier: &NSString,
) -> Result<Retained<Self>, Retained<NSError>>
where Self: Sized + ClassType { ... }
}Available on crate feature
NSItemProvider only.Expand description
Provided Methods§
fn readableTypeIdentifiersForItemProvider() -> Retained<NSArray<NSString>>
Available on crate features
NSArray and NSString only.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§
impl<T> ImplementedBy<T> for dyn NSItemProviderReading
Source§impl ProtocolType for dyn NSItemProviderReading
impl ProtocolType for dyn NSItemProviderReading
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
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.