pub unsafe trait NSObjectNSClassDescriptionPrimitives:
ClassType
+ Sized
+ Sealed {
// Provided methods
fn classDescription(&self) -> Retained<NSClassDescription> { ... }
fn attributeKeys(&self) -> Retained<NSArray<NSString>> { ... }
fn toOneRelationshipKeys(&self) -> Retained<NSArray<NSString>> { ... }
fn toManyRelationshipKeys(&self) -> Retained<NSArray<NSString>> { ... }
fn inverseForRelationshipKey(
&self,
relationship_key: &NSString,
) -> Option<Retained<NSString>> { ... }
}Available on crate feature
NSClassDescription only.Expand description
Category “NSClassDescriptionPrimitives” on NSObject.
Provided Methods§
fn classDescription(&self) -> Retained<NSClassDescription>
fn attributeKeys(&self) -> Retained<NSArray<NSString>>
Available on crate features
NSArray and NSString only.fn toOneRelationshipKeys(&self) -> Retained<NSArray<NSString>>
Available on crate features
NSArray and NSString only.fn toManyRelationshipKeys(&self) -> Retained<NSArray<NSString>>
Available on crate features
NSArray and NSString only.fn inverseForRelationshipKey( &self, relationship_key: &NSString, ) -> Option<Retained<NSString>>
Available on crate feature
NSString only.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".