Skip to main content

NSFileProviderTestingLookup

Trait NSFileProviderTestingLookup 

Source
pub unsafe trait NSFileProviderTestingLookup: NSFileProviderTestingOperation {
    // Provided methods
    unsafe fn side(&self) -> NSFileProviderTestingOperationSide
       where Self: Sized + Message { ... }
    unsafe fn itemIdentifier(&self) -> Retained<NSFileProviderItemIdentifier>
       where Self: Sized + Message { ... }
}
Available on crate feature NSFileProviderTesting only.
Expand description

This operation causes the system to lookup an item.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn side(&self) -> NSFileProviderTestingOperationSide
where Self: Sized + Message,

Side of the event.

Source

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

Available on crate feature NSFileProviderItem only.

Identifier of the affected item.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSFileProviderTestingLookup

Source§

impl ProtocolType for dyn NSFileProviderTestingLookup

Source§

const NAME: &'static str = "NSFileProviderTestingLookup"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NSFileProviderTestingLookup for ProtocolObject<T>

Implementors§