pub unsafe trait NSObjectNSScriptKeyValueCoding: ClassType {
// Provided methods
unsafe fn valueAtIndex_inPropertyWithKey(
&self,
index: NSUInteger,
key: &NSString
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn valueWithName_inPropertyWithKey(
&self,
name: &NSString,
key: &NSString
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn valueWithUniqueID_inPropertyWithKey(
&self,
unique_id: &AnyObject,
key: &NSString
) -> Option<Retained<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<Retained<AnyObject>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSScriptKeyValueCoding
only.Expand description
Category “NSScriptKeyValueCoding” on NSObject
.
Provided Methods§
unsafe fn valueAtIndex_inPropertyWithKey( &self, index: NSUInteger, key: &NSString ) -> Option<Retained<AnyObject>>
Available on crate feature
NSString
only.unsafe fn valueWithName_inPropertyWithKey( &self, name: &NSString, key: &NSString ) -> Option<Retained<AnyObject>>
Available on crate feature
NSString
only.unsafe fn valueWithUniqueID_inPropertyWithKey( &self, unique_id: &AnyObject, key: &NSString ) -> Option<Retained<AnyObject>>
Available on crate feature
NSString
only.unsafe fn insertValue_atIndex_inPropertyWithKey( &self, value: &AnyObject, index: NSUInteger, key: &NSString )
Available on crate feature
NSString
only.unsafe fn removeValueAtIndex_fromPropertyWithKey( &self, index: NSUInteger, key: &NSString )
Available on crate feature
NSString
only.unsafe fn replaceValueAtIndex_inPropertyWithKey_withValue( &self, index: NSUInteger, key: &NSString, value: &AnyObject )
Available on crate feature
NSString
only.unsafe fn insertValue_inPropertyWithKey( &self, value: &AnyObject, key: &NSString )
Available on crate feature
NSString
only.unsafe fn coerceValue_forKey( &self, value: Option<&AnyObject>, key: &NSString ) -> Option<Retained<AnyObject>>
Available on crate feature
NSString
only.Object Safety§
This trait is not object safe.