NSFileProviderSearchResult

Trait NSFileProviderSearchResult 

Source
pub unsafe trait NSFileProviderSearchResult {
    // Provided methods
    unsafe fn itemIdentifier(&self) -> Retained<NSFileProviderItemIdentifier>
       where Self: Sized + Message { ... }
    unsafe fn filename(&self) -> Retained<NSString>
       where Self: Sized + Message { ... }
    unsafe fn creationDate(&self) -> Option<Retained<NSDate>>
       where Self: Sized + Message { ... }
    unsafe fn contentModificationDate(&self) -> Option<Retained<NSDate>>
       where Self: Sized + Message { ... }
    unsafe fn lastUsedDate(&self) -> Option<Retained<NSDate>>
       where Self: Sized + Message { ... }
    unsafe fn contentType(&self) -> Retained<UTType>
       where Self: Sized + Message { ... }
    unsafe fn documentSize(&self) -> Option<Retained<NSNumber>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSFileProviderSearch only.
Expand description

Provided Methods§

Source

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

Available on crate feature NSFileProviderItem only.

The identifier for this search result. This identifier should be usable on API calls from the NSFileProviderReplicatedExtension protocol.

Source

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

Source

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

Source

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

Source

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

Source

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

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

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

Trait Implementations§

Source§

impl ProtocolType for dyn NSFileProviderSearchResult

Source§

const NAME: &'static str = "NSFileProviderSearchResult"

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

Implementations on Foreign Types§

Source§

impl<T> NSFileProviderSearchResult for ProtocolObject<T>

Implementors§