pub unsafe trait NSObjectNSCoderMethods: ClassType {
// Provided methods
unsafe fn version() -> NSInteger
where Self: Sized + ClassType { ... }
unsafe fn setVersion(a_version: NSInteger)
where Self: Sized + ClassType { ... }
unsafe fn classForCoder(&self) -> &'static AnyClass
where Self: Sized + Message { ... }
unsafe fn replacementObjectForCoder(
&self,
coder: &NSCoder
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSObject
only.Expand description
Category “NSCoderMethods” on NSObject
.
Provided Methods§
unsafe fn version() -> NSInteger
unsafe fn setVersion(a_version: NSInteger)
unsafe fn classForCoder(&self) -> &'static AnyClass
unsafe fn replacementObjectForCoder( &self, coder: &NSCoder ) -> Option<Retained<AnyObject>>
Available on crate feature
NSCoder
only.Object Safety§
This trait is not object safe.