pub unsafe trait NSObjectNSScriptKeyValueCoding: ClassType {
    // Provided methods
    unsafe fn valueAtIndex_inPropertyWithKey(
        &self,
        index: NSUInteger,
        key: &NSString
    ) -> Option<Id<AnyObject>>
       where Self: Sized + Message { ... }
    unsafe fn valueWithName_inPropertyWithKey(
        &self,
        name: &NSString,
        key: &NSString
    ) -> Option<Id<AnyObject>>
       where Self: Sized + Message { ... }
    unsafe fn valueWithUniqueID_inPropertyWithKey(
        &self,
        unique_id: &AnyObject,
        key: &NSString
    ) -> Option<Id<AnyObject>>
       where Self: Sized + Message { ... }
    unsafe fn insertValue_atIndex_inPropertyWithKey(
        &self,
        value: &AnyObject,
        index: NSUInteger,
        key: &NSString
    )
       where Self: Sized + Message { ... }
    unsafe fn removeValueAtIndex_fromPropertyWithKey(
        &self,
        index: NSUInteger,
        key: &NSString
    )
       where Self: Sized + Message { ... }
    unsafe fn replaceValueAtIndex_inPropertyWithKey_withValue(
        &self,
        index: NSUInteger,
        key: &NSString,
        value: &AnyObject
    )
       where Self: Sized + Message { ... }
    unsafe fn insertValue_inPropertyWithKey(
        &self,
        value: &AnyObject,
        key: &NSString
    )
       where Self: Sized + Message { ... }
    unsafe fn coerceValue_forKey(
        &self,
        value: Option<&AnyObject>,
        key: &NSString
    ) -> Option<Id<AnyObject>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSScriptKeyValueCoding only.
Expand description

Category “NSScriptKeyValueCoding” on NSObject.

Provided Methods§

source

unsafe fn valueAtIndex_inPropertyWithKey( &self, index: NSUInteger, key: &NSString ) -> Option<Id<AnyObject>>
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn valueWithName_inPropertyWithKey( &self, name: &NSString, key: &NSString ) -> Option<Id<AnyObject>>
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn valueWithUniqueID_inPropertyWithKey( &self, unique_id: &AnyObject, key: &NSString ) -> Option<Id<AnyObject>>
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn insertValue_atIndex_inPropertyWithKey( &self, value: &AnyObject, index: NSUInteger, key: &NSString )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn removeValueAtIndex_fromPropertyWithKey( &self, index: NSUInteger, key: &NSString )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn replaceValueAtIndex_inPropertyWithKey_withValue( &self, index: NSUInteger, key: &NSString, value: &AnyObject )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn insertValue_inPropertyWithKey( &self, value: &AnyObject, key: &NSString )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn coerceValue_forKey( &self, value: Option<&AnyObject>, key: &NSString ) -> Option<Id<AnyObject>>
where Self: Sized + Message,

Available on crate feature NSString only.

Object Safety§

This trait is not object safe.

Implementors§