Trait objc2_app_kit::NSEditorRegistration

source ·
pub unsafe trait NSEditorRegistration: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn objectDidBeginEditing(
        &self,
        editor: &ProtocolObject<dyn NSEditor>
    )
       where Self: Sized + Message { ... }
    unsafe fn objectDidEndEditing(&self, editor: &ProtocolObject<dyn NSEditor>)
       where Self: Sized + Message { ... }
}
Available on crate feature NSKeyValueBinding only.

Provided Methods§

source

unsafe fn objectDidBeginEditing(&self, editor: &ProtocolObject<dyn NSEditor>)
where Self: Sized + Message,

source

unsafe fn objectDidEndEditing(&self, editor: &ProtocolObject<dyn NSEditor>)
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSEditorRegistration

source§

const NAME: &'static str = "NSEditorRegistration"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSEditorRegistration

Implementations on Foreign Types§

source§

impl<T> NSEditorRegistration for ProtocolObject<T>

Implementors§

source§

impl NSEditorRegistration for NSArrayController

Available on crate features NSController and NSObjectController and NSArrayController only.
source§

impl NSEditorRegistration for NSController

Available on crate feature NSController only.
source§

impl NSEditorRegistration for NSDictionaryController

Available on crate features NSArrayController and NSController and NSObjectController and NSDictionaryController only.
source§

impl NSEditorRegistration for NSDocument

Available on crate feature NSDocument only.
source§

impl NSEditorRegistration for NSObjectController

Available on crate features NSController and NSObjectController only.
source§

impl NSEditorRegistration for NSPersistentDocument

Available on crate features NSDocument and NSPersistentDocument only.
source§

impl NSEditorRegistration for NSTreeController

Available on crate features NSController and NSObjectController and NSTreeController only.
source§

impl NSEditorRegistration for NSUserDefaultsController

Available on crate features NSController and NSUserDefaultsController only.