Trait NSEditorRegistration

Source
pub unsafe trait NSEditorRegistration: NSObjectProtocol + MainThreadOnly {
    // 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.
Expand description

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. Read more
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 feature NSArrayController only.
Source§

impl NSEditorRegistration for NSController

Available on crate feature NSController only.
Source§

impl NSEditorRegistration for NSDictionaryController

Available on crate feature NSDictionaryController only.
Source§

impl NSEditorRegistration for NSDocument

Available on crate feature NSDocument only.
Source§

impl NSEditorRegistration for NSObjectController

Available on crate feature NSObjectController only.
Source§

impl NSEditorRegistration for NSPersistentDocument

Available on crate feature NSPersistentDocument only.
Source§

impl NSEditorRegistration for NSTreeController

Available on crate feature NSTreeController only.
Source§

impl NSEditorRegistration for NSUserDefaultsController

Available on crate feature NSUserDefaultsController only.