NSObjectNSClassDescriptionPrimitives

Trait NSObjectNSClassDescriptionPrimitives 

Source
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§

Source

fn classDescription(&self) -> Retained<NSClassDescription>

Source

fn attributeKeys(&self) -> Retained<NSArray<NSString>>

Available on crate features NSArray and NSString only.
Source

fn toOneRelationshipKeys(&self) -> Retained<NSArray<NSString>>

Available on crate features NSArray and NSString only.
Source

fn toManyRelationshipKeys(&self) -> Retained<NSArray<NSString>>

Available on crate features NSArray and NSString only.
Source

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", so this trait is not object safe.

Implementors§