Trait objc2_foundation::NSKeyedArchiverDelegate

source ·
pub unsafe trait NSKeyedArchiverDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn archiver_willEncodeObject(
        &self,
        archiver: &NSKeyedArchiver,
        object: &AnyObject
    ) -> Option<Retained<AnyObject>>
       where Self: Sized + Message { ... }
    unsafe fn archiver_didEncodeObject(
        &self,
        archiver: &NSKeyedArchiver,
        object: Option<&AnyObject>
    )
       where Self: Sized + Message { ... }
    unsafe fn archiver_willReplaceObject_withObject(
        &self,
        archiver: &NSKeyedArchiver,
        object: Option<&AnyObject>,
        new_object: Option<&AnyObject>
    )
       where Self: Sized + Message { ... }
    unsafe fn archiverWillFinish(&self, archiver: &NSKeyedArchiver)
       where Self: Sized + Message { ... }
    unsafe fn archiverDidFinish(&self, archiver: &NSKeyedArchiver)
       where Self: Sized + Message { ... }
}
Available on crate feature NSKeyedArchiver only.

Provided Methods§

source

unsafe fn archiver_willEncodeObject( &self, archiver: &NSKeyedArchiver, object: &AnyObject ) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

Available on crate feature NSCoder only.
source

unsafe fn archiver_didEncodeObject( &self, archiver: &NSKeyedArchiver, object: Option<&AnyObject> )
where Self: Sized + Message,

Available on crate feature NSCoder only.
source

unsafe fn archiver_willReplaceObject_withObject( &self, archiver: &NSKeyedArchiver, object: Option<&AnyObject>, new_object: Option<&AnyObject> )
where Self: Sized + Message,

Available on crate feature NSCoder only.
source

unsafe fn archiverWillFinish(&self, archiver: &NSKeyedArchiver)
where Self: Sized + Message,

Available on crate feature NSCoder only.
source

unsafe fn archiverDidFinish(&self, archiver: &NSKeyedArchiver)
where Self: Sized + Message,

Available on crate feature NSCoder only.

Trait Implementations§

source§

impl ProtocolType for dyn NSKeyedArchiverDelegate

source§

const NAME: &'static str = "NSKeyedArchiverDelegate"

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 NSKeyedArchiverDelegate

Implementations on Foreign Types§

source§

impl<T> NSKeyedArchiverDelegate for ProtocolObject<T>

Implementors§