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§
unsafe fn classForArchiver(&self) -> Option<&'static AnyClass>
unsafe fn replacementObjectForArchiver( &self, archiver: &NSArchiver ) -> Option<Retained<AnyObject>>
👎Deprecated
Available on crate feature
NSCoder
only.Object Safety§
This trait is not object safe.