Trait NSFileProviderThumbnailing

Source
pub unsafe trait NSFileProviderThumbnailing: NSObjectProtocol {
    // Provided method
    unsafe fn fetchThumbnailsForItemIdentifiers_requestedSize_perThumbnailCompletionHandler_completionHandler(
        &self,
        item_identifiers: &NSArray<NSFileProviderItemIdentifier>,
        size: CGSize,
        per_thumbnail_completion_handler: &Block<(NonNull<NSFileProviderItemIdentifier>, *mut NSData, *mut NSError), ()>,
        completion_handler: &Block<(*mut NSError,), ()>,
    ) -> Id<NSProgress>
       where Self: Sized + Message { ... }
}
👎Deprecated: icrate::FileProvider has been moved to objc2-file-provider
Available on crate feature FileProvider only.

Provided Methods§

Source

unsafe fn fetchThumbnailsForItemIdentifiers_requestedSize_perThumbnailCompletionHandler_completionHandler( &self, item_identifiers: &NSArray<NSFileProviderItemIdentifier>, size: CGSize, per_thumbnail_completion_handler: &Block<(NonNull<NSFileProviderItemIdentifier>, *mut NSData, *mut NSError), ()>, completion_handler: &Block<(*mut NSError,), ()>, ) -> Id<NSProgress>
where Self: Sized + Message,

👎Deprecated: icrate::FileProvider has been moved to objc2-file-provider
Available on crate features Foundation_NSArray and Foundation_NSData and Foundation_NSError and Foundation_NSProgress only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSFileProviderThumbnailing

Source§

const NAME: &'static str = "NSFileProviderThumbnailing"

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

Implementations on Foreign Types§

Source§

impl<T> NSFileProviderThumbnailing for ProtocolObject<T>

Implementors§