pub unsafe trait NSObjectNSKeyValueObservingCustomization: ClassType {
    // Provided methods
    unsafe fn keyPathsForValuesAffectingValueForKey(
        key: &NSString
    ) -> Id<NSSet<NSString>>
       where Self: Sized + ClassType { ... }
    unsafe fn automaticallyNotifiesObserversForKey(key: &NSString) -> bool
       where Self: Sized + ClassType { ... }
    unsafe fn observationInfo(&self) -> *mut c_void
       where Self: Sized + Message { ... }
    unsafe fn setObservationInfo(&self, observation_info: *mut c_void)
       where Self: Sized + Message { ... }
}
Available on crate feature NSKeyValueObserving only.
Expand description

Category “NSKeyValueObservingCustomization” on NSObject.

Provided Methods§

source

unsafe fn keyPathsForValuesAffectingValueForKey( key: &NSString ) -> Id<NSSet<NSString>>
where Self: Sized + ClassType,

Available on crate features NSSet and NSString only.
source

unsafe fn automaticallyNotifiesObserversForKey(key: &NSString) -> bool
where Self: Sized + ClassType,

Available on crate feature NSString only.
source

unsafe fn observationInfo(&self) -> *mut c_void
where Self: Sized + Message,

source

unsafe fn setObservationInfo(&self, observation_info: *mut c_void)
where Self: Sized + Message,

Object Safety§

This trait is not object safe.

Implementors§