pub unsafe trait NSObjectNSKeyedArchiverObjectSubstitution:
ClassType
+ Sized
+ Sealed {
// Provided methods
fn classForKeyedArchiver(&self) -> Option<&'static AnyClass> { ... }
fn replacementObjectForKeyedArchiver(
&self,
archiver: &NSKeyedArchiver,
) -> Option<Retained<AnyObject>> { ... }
fn classFallbacksForKeyedArchiver() -> Retained<NSArray<NSString>> { ... }
}
Available on crate feature
NSKeyedArchiver
only.Expand description
Category “NSKeyedArchiverObjectSubstitution” on NSObject
.
Provided Methods§
fn classForKeyedArchiver(&self) -> Option<&'static AnyClass>
fn replacementObjectForKeyedArchiver( &self, archiver: &NSKeyedArchiver, ) -> Option<Retained<AnyObject>>
Available on crate feature
NSCoder
only.fn classFallbacksForKeyedArchiver() -> Retained<NSArray<NSString>>
Available on crate features
NSArray
and NSString
only.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.