pub unsafe trait NSFileProviderItemProtocol: NSObjectProtocol {
Show 33 methods // Provided methods unsafe fn itemIdentifier(&self) -> Id<NSFileProviderItemIdentifier> where Self: Sized + Message { ... } unsafe fn parentItemIdentifier(&self) -> Id<NSFileProviderItemIdentifier> where Self: Sized + Message { ... } unsafe fn filename(&self) -> Id<NSString> where Self: Sized + Message { ... } unsafe fn contentType(&self) -> Id<UTType> where Self: Sized + Message { ... } unsafe fn typeIdentifier(&self) -> Id<NSString> where Self: Sized + Message { ... } unsafe fn typeAndCreator(&self) -> NSFileProviderTypeAndCreator where Self: Sized + Message { ... } unsafe fn capabilities(&self) -> NSFileProviderItemCapabilities where Self: Sized + Message { ... } unsafe fn fileSystemFlags(&self) -> NSFileProviderFileSystemFlags where Self: Sized + Message { ... } unsafe fn documentSize(&self) -> Option<Id<NSNumber>> where Self: Sized + Message { ... } unsafe fn childItemCount(&self) -> Option<Id<NSNumber>> where Self: Sized + Message { ... } unsafe fn creationDate(&self) -> Option<Id<NSDate>> where Self: Sized + Message { ... } unsafe fn contentModificationDate(&self) -> Option<Id<NSDate>> where Self: Sized + Message { ... } unsafe fn extendedAttributes(&self) -> Id<NSDictionary<NSString, NSData>> where Self: Sized + Message { ... } unsafe fn lastUsedDate(&self) -> Option<Id<NSDate>> where Self: Sized + Message { ... } unsafe fn tagData(&self) -> Option<Id<NSData>> where Self: Sized + Message { ... } unsafe fn favoriteRank(&self) -> Option<Id<NSNumber>> where Self: Sized + Message { ... } unsafe fn isTrashed(&self) -> bool where Self: Sized + Message { ... } unsafe fn isUploaded(&self) -> bool where Self: Sized + Message { ... } unsafe fn isUploading(&self) -> bool where Self: Sized + Message { ... } unsafe fn uploadingError(&self) -> Option<Id<NSError>> where Self: Sized + Message { ... } unsafe fn isDownloaded(&self) -> bool where Self: Sized + Message { ... } unsafe fn isDownloading(&self) -> bool where Self: Sized + Message { ... } unsafe fn downloadingError(&self) -> Option<Id<NSError>> where Self: Sized + Message { ... } unsafe fn isMostRecentVersionDownloaded(&self) -> bool where Self: Sized + Message { ... } unsafe fn isShared(&self) -> bool where Self: Sized + Message { ... } unsafe fn isSharedByCurrentUser(&self) -> bool where Self: Sized + Message { ... } unsafe fn ownerNameComponents(&self) -> Option<Id<NSPersonNameComponents>> where Self: Sized + Message { ... } unsafe fn mostRecentEditorNameComponents( &self ) -> Option<Id<NSPersonNameComponents>> where Self: Sized + Message { ... } unsafe fn versionIdentifier(&self) -> Option<Id<NSData>> where Self: Sized + Message { ... } unsafe fn itemVersion(&self) -> Id<NSFileProviderItemVersion> where Self: Sized + Message { ... } unsafe fn symlinkTargetPath(&self) -> Option<Id<NSString>> where Self: Sized + Message { ... } unsafe fn userInfo(&self) -> Option<Id<NSDictionary>> where Self: Sized + Message { ... } unsafe fn contentPolicy(&self) -> NSFileProviderContentPolicy where Self: Sized + Message { ... }
}
Available on crate feature NSFileProviderItem only.

Provided Methods§

source

unsafe fn itemIdentifier(&self) -> Id<NSFileProviderItemIdentifier>
where Self: Sized + Message,

source

unsafe fn parentItemIdentifier(&self) -> Id<NSFileProviderItemIdentifier>
where Self: Sized + Message,

source

unsafe fn filename(&self) -> Id<NSString>
where Self: Sized + Message,

source

unsafe fn contentType(&self) -> Id<UTType>
where Self: Sized + Message,

Available on crate feature objc2-uniform-type-identifiers only.
source

unsafe fn typeIdentifier(&self) -> Id<NSString>
where Self: Sized + Message,

👎Deprecated
source

unsafe fn typeAndCreator(&self) -> NSFileProviderTypeAndCreator
where Self: Sized + Message,

source

unsafe fn capabilities(&self) -> NSFileProviderItemCapabilities
where Self: Sized + Message,

source

unsafe fn fileSystemFlags(&self) -> NSFileProviderFileSystemFlags
where Self: Sized + Message,

source

unsafe fn documentSize(&self) -> Option<Id<NSNumber>>
where Self: Sized + Message,

source

unsafe fn childItemCount(&self) -> Option<Id<NSNumber>>
where Self: Sized + Message,

source

unsafe fn creationDate(&self) -> Option<Id<NSDate>>
where Self: Sized + Message,

source

unsafe fn contentModificationDate(&self) -> Option<Id<NSDate>>
where Self: Sized + Message,

source

unsafe fn extendedAttributes(&self) -> Id<NSDictionary<NSString, NSData>>
where Self: Sized + Message,

source

unsafe fn lastUsedDate(&self) -> Option<Id<NSDate>>
where Self: Sized + Message,

source

unsafe fn tagData(&self) -> Option<Id<NSData>>
where Self: Sized + Message,

source

unsafe fn favoriteRank(&self) -> Option<Id<NSNumber>>
where Self: Sized + Message,

source

unsafe fn isTrashed(&self) -> bool
where Self: Sized + Message,

source

unsafe fn isUploaded(&self) -> bool
where Self: Sized + Message,

source

unsafe fn isUploading(&self) -> bool
where Self: Sized + Message,

source

unsafe fn uploadingError(&self) -> Option<Id<NSError>>
where Self: Sized + Message,

source

unsafe fn isDownloaded(&self) -> bool
where Self: Sized + Message,

source

unsafe fn isDownloading(&self) -> bool
where Self: Sized + Message,

source

unsafe fn downloadingError(&self) -> Option<Id<NSError>>
where Self: Sized + Message,

source

unsafe fn isMostRecentVersionDownloaded(&self) -> bool
where Self: Sized + Message,

source

unsafe fn isShared(&self) -> bool
where Self: Sized + Message,

source

unsafe fn isSharedByCurrentUser(&self) -> bool
where Self: Sized + Message,

source

unsafe fn ownerNameComponents(&self) -> Option<Id<NSPersonNameComponents>>
where Self: Sized + Message,

source

unsafe fn mostRecentEditorNameComponents( &self ) -> Option<Id<NSPersonNameComponents>>
where Self: Sized + Message,

source

unsafe fn versionIdentifier(&self) -> Option<Id<NSData>>
where Self: Sized + Message,

source

unsafe fn itemVersion(&self) -> Id<NSFileProviderItemVersion>
where Self: Sized + Message,

source

unsafe fn symlinkTargetPath(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source

unsafe fn userInfo(&self) -> Option<Id<NSDictionary>>
where Self: Sized + Message,

source

unsafe fn contentPolicy(&self) -> NSFileProviderContentPolicy
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSFileProviderItemProtocol

source§

const NAME: &'static str = "NSFileProviderItem"

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 NSFileProviderItemProtocol

Implementations on Foreign Types§

source§

impl<T> NSFileProviderItemProtocol for ProtocolObject<T>

Implementors§