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§
unsafe fn presentedItemURL(&self) -> Option<Retained<NSURL>>
Available on crate feature
NSURL
only.unsafe fn presentedItemOperationQueue(&self) -> Retained<NSOperationQueue>
Available on crate feature
NSOperation
only.unsafe fn primaryPresentedItemURL(&self) -> Option<Retained<NSURL>>
Available on crate feature
NSURL
only.unsafe fn relinquishPresentedItemToReader( &self, reader: &Block<dyn Fn(*mut Block<dyn Fn()>)> )
Available on crate feature
block2
only.unsafe fn relinquishPresentedItemToWriter( &self, writer: &Block<dyn Fn(*mut Block<dyn Fn()>)> )
Available on crate feature
block2
only.unsafe fn savePresentedItemChangesWithCompletionHandler( &self, completion_handler: &Block<dyn Fn(*mut NSError)> )
Available on crate features
NSError
and block2
only.unsafe fn accommodatePresentedItemDeletionWithCompletionHandler( &self, completion_handler: &Block<dyn Fn(*mut NSError)> )
Available on crate features
NSError
and block2
only.unsafe fn accommodatePresentedItemEvictionWithCompletionHandler( &self, completion_handler: &Block<dyn Fn(*mut NSError)> )
Available on crate features
NSError
and block2
only.unsafe fn presentedItemDidMoveToURL(&self, new_url: &NSURL)
Available on crate feature
NSURL
only.unsafe fn presentedItemDidChange(&self)
unsafe fn presentedItemDidChangeUbiquityAttributes( &self, attributes: &NSSet<NSURLResourceKey> )
Available on crate features
NSSet
and NSString
and NSURL
only.unsafe fn observedPresentedItemUbiquityAttributes( &self ) -> Retained<NSSet<NSURLResourceKey>>
Available on crate features
NSSet
and NSString
and NSURL
only.unsafe fn presentedItemDidGainVersion(&self, version: &NSFileVersion)
Available on crate feature
NSFileVersion
only.unsafe fn presentedItemDidLoseVersion(&self, version: &NSFileVersion)
Available on crate feature
NSFileVersion
only.unsafe fn presentedItemDidResolveConflictVersion(&self, version: &NSFileVersion)
Available on crate feature
NSFileVersion
only.unsafe fn accommodatePresentedSubitemDeletionAtURL_completionHandler( &self, url: &NSURL, completion_handler: &Block<dyn Fn(*mut NSError)> )
Available on crate features
NSError
and NSURL
and block2
only.unsafe fn presentedSubitemDidAppearAtURL(&self, url: &NSURL)
Available on crate feature
NSURL
only.unsafe fn presentedSubitemAtURL_didMoveToURL( &self, old_url: &NSURL, new_url: &NSURL )
Available on crate feature
NSURL
only.unsafe fn presentedSubitemDidChangeAtURL(&self, url: &NSURL)
Available on crate feature
NSURL
only.unsafe fn presentedSubitemAtURL_didGainVersion( &self, url: &NSURL, version: &NSFileVersion )
Available on crate features
NSFileVersion
and NSURL
only.unsafe fn presentedSubitemAtURL_didLoseVersion( &self, url: &NSURL, version: &NSFileVersion )
Available on crate features
NSFileVersion
and NSURL
only.unsafe fn presentedSubitemAtURL_didResolveConflictVersion( &self, url: &NSURL, version: &NSFileVersion )
Available on crate features
NSFileVersion
and NSURL
only.