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§

source

unsafe fn willChangeValueForKey(&self, key: &NSString)
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn didChangeValueForKey(&self, key: &NSString)
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn willChange_valuesAtIndexes_forKey( &self, change_kind: NSKeyValueChange, indexes: &NSIndexSet, key: &NSString )
where Self: Sized + Message,

Available on crate features NSIndexSet and NSString only.
source

unsafe fn didChange_valuesAtIndexes_forKey( &self, change_kind: NSKeyValueChange, indexes: &NSIndexSet, key: &NSString )
where Self: Sized + Message,

Available on crate features NSIndexSet and NSString only.
source

unsafe fn willChangeValueForKey_withSetMutation_usingObjects( &self, key: &NSString, mutation_kind: NSKeyValueSetMutationKind, objects: &NSSet )
where Self: Sized + Message,

Available on crate features NSSet and NSString only.
source

unsafe fn didChangeValueForKey_withSetMutation_usingObjects( &self, key: &NSString, mutation_kind: NSKeyValueSetMutationKind, objects: &NSSet )
where Self: Sized + Message,

Available on crate features NSSet and NSString only.

Object Safety§

This trait is not object safe.

Implementors§