pub unsafe trait NSObjectNSKeyedArchiverObjectSubstitution: ClassType {
// Provided methods
unsafe fn classForKeyedArchiver(&self) -> Option<&'static AnyClass>
where Self: Sized + Message { ... }
unsafe fn replacementObjectForKeyedArchiver(
&self,
archiver: &NSKeyedArchiver
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn classFallbacksForKeyedArchiver() -> Retained<NSArray<NSString>>
where Self: Sized + ClassType { ... }
}
Available on crate feature
NSKeyedArchiver
only.Expand description
Category “NSKeyedArchiverObjectSubstitution” on NSObject
.
Provided Methods§
unsafe fn classForKeyedArchiver(&self) -> Option<&'static AnyClass>
unsafe fn replacementObjectForKeyedArchiver( &self, archiver: &NSKeyedArchiver ) -> Option<Retained<AnyObject>>
Available on crate feature
NSCoder
only.unsafe fn classFallbacksForKeyedArchiver() -> Retained<NSArray<NSString>>
Available on crate features
NSArray
and NSString
only.Object Safety§
This trait is not object safe.