Trait objc2_foundation::NSFilePresenter

source ·
pub unsafe trait NSFilePresenter: NSObjectProtocol {
Show 22 methods // Provided methods unsafe fn presentedItemURL(&self) -> Option<Retained<NSURL>> where Self: Sized + Message { ... } unsafe fn presentedItemOperationQueue(&self) -> Retained<NSOperationQueue> where Self: Sized + Message { ... } unsafe fn primaryPresentedItemURL(&self) -> Option<Retained<NSURL>> where Self: Sized + Message { ... } unsafe fn relinquishPresentedItemToReader( &self, reader: &Block<dyn Fn(*mut Block<dyn Fn()>)> ) where Self: Sized + Message { ... } unsafe fn relinquishPresentedItemToWriter( &self, writer: &Block<dyn Fn(*mut Block<dyn Fn()>)> ) where Self: Sized + Message { ... } unsafe fn savePresentedItemChangesWithCompletionHandler( &self, completion_handler: &Block<dyn Fn(*mut NSError)> ) where Self: Sized + Message { ... } unsafe fn accommodatePresentedItemDeletionWithCompletionHandler( &self, completion_handler: &Block<dyn Fn(*mut NSError)> ) where Self: Sized + Message { ... } unsafe fn accommodatePresentedItemEvictionWithCompletionHandler( &self, completion_handler: &Block<dyn Fn(*mut NSError)> ) where Self: Sized + Message { ... } unsafe fn presentedItemDidMoveToURL(&self, new_url: &NSURL) where Self: Sized + Message { ... } unsafe fn presentedItemDidChange(&self) where Self: Sized + Message { ... } unsafe fn presentedItemDidChangeUbiquityAttributes( &self, attributes: &NSSet<NSURLResourceKey> ) where Self: Sized + Message { ... } unsafe fn observedPresentedItemUbiquityAttributes( &self ) -> Retained<NSSet<NSURLResourceKey>> where Self: Sized + Message { ... } unsafe fn presentedItemDidGainVersion(&self, version: &NSFileVersion) where Self: Sized + Message { ... } unsafe fn presentedItemDidLoseVersion(&self, version: &NSFileVersion) where Self: Sized + Message { ... } unsafe fn presentedItemDidResolveConflictVersion( &self, version: &NSFileVersion ) where Self: Sized + Message { ... } unsafe fn accommodatePresentedSubitemDeletionAtURL_completionHandler( &self, url: &NSURL, completion_handler: &Block<dyn Fn(*mut NSError)> ) where Self: Sized + Message { ... } unsafe fn presentedSubitemDidAppearAtURL(&self, url: &NSURL) where Self: Sized + Message { ... } unsafe fn presentedSubitemAtURL_didMoveToURL( &self, old_url: &NSURL, new_url: &NSURL ) where Self: Sized + Message { ... } unsafe fn presentedSubitemDidChangeAtURL(&self, url: &NSURL) where Self: Sized + Message { ... } unsafe fn presentedSubitemAtURL_didGainVersion( &self, url: &NSURL, version: &NSFileVersion ) where Self: Sized + Message { ... } unsafe fn presentedSubitemAtURL_didLoseVersion( &self, url: &NSURL, version: &NSFileVersion ) where Self: Sized + Message { ... } unsafe fn presentedSubitemAtURL_didResolveConflictVersion( &self, url: &NSURL, version: &NSFileVersion ) where Self: Sized + Message { ... }
}
Available on crate feature NSFilePresenter only.

Provided Methods§

source

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

Available on crate feature NSURL only.
source

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

Available on crate feature NSOperation only.
source

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

Available on crate feature NSURL only.
source

unsafe fn relinquishPresentedItemToReader( &self, reader: &Block<dyn Fn(*mut Block<dyn Fn()>)> )
where Self: Sized + Message,

Available on crate feature block2 only.
source

unsafe fn relinquishPresentedItemToWriter( &self, writer: &Block<dyn Fn(*mut Block<dyn Fn()>)> )
where Self: Sized + Message,

Available on crate feature block2 only.
source

unsafe fn savePresentedItemChangesWithCompletionHandler( &self, completion_handler: &Block<dyn Fn(*mut NSError)> )
where Self: Sized + Message,

Available on crate features NSError and block2 only.
source

unsafe fn accommodatePresentedItemDeletionWithCompletionHandler( &self, completion_handler: &Block<dyn Fn(*mut NSError)> )
where Self: Sized + Message,

Available on crate features NSError and block2 only.
source

unsafe fn accommodatePresentedItemEvictionWithCompletionHandler( &self, completion_handler: &Block<dyn Fn(*mut NSError)> )
where Self: Sized + Message,

Available on crate features NSError and block2 only.
source

unsafe fn presentedItemDidMoveToURL(&self, new_url: &NSURL)
where Self: Sized + Message,

Available on crate feature NSURL only.
source

unsafe fn presentedItemDidChange(&self)
where Self: Sized + Message,

source

unsafe fn presentedItemDidChangeUbiquityAttributes( &self, attributes: &NSSet<NSURLResourceKey> )
where Self: Sized + Message,

Available on crate features NSSet and NSString and NSURL only.
source

unsafe fn observedPresentedItemUbiquityAttributes( &self ) -> Retained<NSSet<NSURLResourceKey>>
where Self: Sized + Message,

Available on crate features NSSet and NSString and NSURL only.
source

unsafe fn presentedItemDidGainVersion(&self, version: &NSFileVersion)
where Self: Sized + Message,

Available on crate feature NSFileVersion only.
source

unsafe fn presentedItemDidLoseVersion(&self, version: &NSFileVersion)
where Self: Sized + Message,

Available on crate feature NSFileVersion only.
source

unsafe fn presentedItemDidResolveConflictVersion(&self, version: &NSFileVersion)
where Self: Sized + Message,

Available on crate feature NSFileVersion only.
source

unsafe fn accommodatePresentedSubitemDeletionAtURL_completionHandler( &self, url: &NSURL, completion_handler: &Block<dyn Fn(*mut NSError)> )
where Self: Sized + Message,

Available on crate features NSError and NSURL and block2 only.
source

unsafe fn presentedSubitemDidAppearAtURL(&self, url: &NSURL)
where Self: Sized + Message,

Available on crate feature NSURL only.
source

unsafe fn presentedSubitemAtURL_didMoveToURL( &self, old_url: &NSURL, new_url: &NSURL )
where Self: Sized + Message,

Available on crate feature NSURL only.
source

unsafe fn presentedSubitemDidChangeAtURL(&self, url: &NSURL)
where Self: Sized + Message,

Available on crate feature NSURL only.
source

unsafe fn presentedSubitemAtURL_didGainVersion( &self, url: &NSURL, version: &NSFileVersion )
where Self: Sized + Message,

Available on crate features NSFileVersion and NSURL only.
source

unsafe fn presentedSubitemAtURL_didLoseVersion( &self, url: &NSURL, version: &NSFileVersion )
where Self: Sized + Message,

Available on crate features NSFileVersion and NSURL only.
source

unsafe fn presentedSubitemAtURL_didResolveConflictVersion( &self, url: &NSURL, version: &NSFileVersion )
where Self: Sized + Message,

Available on crate features NSFileVersion and NSURL only.

Trait Implementations§

source§

impl ProtocolType for dyn NSFilePresenter

source§

const NAME: &'static str = "NSFilePresenter"

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 NSFilePresenter

Implementations on Foreign Types§

source§

impl<T> NSFilePresenter for ProtocolObject<T>
where T: ?Sized + NSFilePresenter,

Implementors§