pub unsafe trait NSObjectNSKeyValueBindingCreation: ClassType {
    // Provided methods
    unsafe fn exposeBinding(binding: &NSBindingName)
       where Self: Sized + ClassType { ... }
    unsafe fn exposedBindings(&self) -> Id<NSArray<NSBindingName>>
       where Self: Sized + Message { ... }
    unsafe fn valueClassForBinding(
        &self,
        binding: &NSBindingName
    ) -> Option<&'static AnyClass>
       where Self: Sized + Message { ... }
    unsafe fn bind_toObject_withKeyPath_options(
        &self,
        binding: &NSBindingName,
        observable: &AnyObject,
        key_path: &NSString,
        options: Option<&NSDictionary<NSBindingOption, AnyObject>>
    )
       where Self: Sized + Message { ... }
    unsafe fn unbind(&self, binding: &NSBindingName)
       where Self: Sized + Message { ... }
    unsafe fn infoForBinding(
        &self,
        binding: &NSBindingName
    ) -> Option<Id<NSDictionary<NSBindingInfoKey, AnyObject>>>
       where Self: Sized + Message { ... }
    unsafe fn optionDescriptionsForBinding(
        &self,
        binding: &NSBindingName
    ) -> Id<NSArray<NSAttributeDescription>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSKeyValueBinding only.
Expand description

Category “NSKeyValueBindingCreation” on NSObject.

Provided Methods§

source

unsafe fn exposeBinding(binding: &NSBindingName)
where Self: Sized + ClassType,

source

unsafe fn exposedBindings(&self) -> Id<NSArray<NSBindingName>>
where Self: Sized + Message,

source

unsafe fn valueClassForBinding( &self, binding: &NSBindingName ) -> Option<&'static AnyClass>
where Self: Sized + Message,

source

unsafe fn bind_toObject_withKeyPath_options( &self, binding: &NSBindingName, observable: &AnyObject, key_path: &NSString, options: Option<&NSDictionary<NSBindingOption, AnyObject>> )
where Self: Sized + Message,

source

unsafe fn unbind(&self, binding: &NSBindingName)
where Self: Sized + Message,

source

unsafe fn infoForBinding( &self, binding: &NSBindingName ) -> Option<Id<NSDictionary<NSBindingInfoKey, AnyObject>>>
where Self: Sized + Message,

source

unsafe fn optionDescriptionsForBinding( &self, binding: &NSBindingName ) -> Id<NSArray<NSAttributeDescription>>
where Self: Sized + Message,

Available on crate feature objc2-core-data only.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NSObjectNSKeyValueBindingCreation for NSObject

Implementors§