pub unsafe trait NSObjectNSKeyValueObserverNotification: ClassType {
// Provided methods
unsafe fn willChangeValueForKey(&self, key: &NSString)
where Self: Sized + Message { ... }
unsafe fn didChangeValueForKey(&self, key: &NSString)
where Self: Sized + Message { ... }
unsafe fn willChange_valuesAtIndexes_forKey(
&self,
change_kind: NSKeyValueChange,
indexes: &NSIndexSet,
key: &NSString
)
where Self: Sized + Message { ... }
unsafe fn didChange_valuesAtIndexes_forKey(
&self,
change_kind: NSKeyValueChange,
indexes: &NSIndexSet,
key: &NSString
)
where Self: Sized + Message { ... }
unsafe fn willChangeValueForKey_withSetMutation_usingObjects(
&self,
key: &NSString,
mutation_kind: NSKeyValueSetMutationKind,
objects: &NSSet
)
where Self: Sized + Message { ... }
unsafe fn didChangeValueForKey_withSetMutation_usingObjects(
&self,
key: &NSString,
mutation_kind: NSKeyValueSetMutationKind,
objects: &NSSet
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSKeyValueObserving
only.Expand description
Category “NSKeyValueObserverNotification” on NSObject
.
Provided Methods§
unsafe fn willChangeValueForKey(&self, key: &NSString)
Available on crate feature
NSString
only.unsafe fn didChangeValueForKey(&self, key: &NSString)
Available on crate feature
NSString
only.unsafe fn willChange_valuesAtIndexes_forKey( &self, change_kind: NSKeyValueChange, indexes: &NSIndexSet, key: &NSString )
Available on crate features
NSIndexSet
and NSString
only.unsafe fn didChange_valuesAtIndexes_forKey( &self, change_kind: NSKeyValueChange, indexes: &NSIndexSet, key: &NSString )
Available on crate features
NSIndexSet
and NSString
only.unsafe fn willChangeValueForKey_withSetMutation_usingObjects( &self, key: &NSString, mutation_kind: NSKeyValueSetMutationKind, objects: &NSSet )
Available on crate features
NSSet
and NSString
only.unsafe fn didChangeValueForKey_withSetMutation_usingObjects( &self, key: &NSString, mutation_kind: NSKeyValueSetMutationKind, objects: &NSSet )
Available on crate features
NSSet
and NSString
only.Object Safety§
This trait is not object safe.