pub unsafe trait NSObjectNSArchiverCallback: ClassType {
    // Provided methods
    unsafe fn classForArchiver(&self) -> Option<&'static AnyClass>
       where Self: Sized + Message { ... }
    unsafe fn replacementObjectForArchiver(
        &self,
        archiver: &NSArchiver
    ) -> Option<Retained<AnyObject>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSArchiver only.
Expand description

Category “NSArchiverCallback” on NSObject.

Provided Methods§

source

unsafe fn classForArchiver(&self) -> Option<&'static AnyClass>
where Self: Sized + Message,

source

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

👎Deprecated
Available on crate feature NSCoder only.

Object Safety§

This trait is not object safe.

Implementors§