pub unsafe trait NSEditor: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn discardEditing(&self)
where Self: Sized + Message { ... }
unsafe fn commitEditing(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn commitEditingWithDelegate_didCommitSelector_contextInfo(
&self,
delegate: Option<&AnyObject>,
did_commit_selector: Option<Sel>,
context_info: *mut c_void,
)
where Self: Sized + Message { ... }
unsafe fn commitEditingAndReturnError(
&self,
) -> Result<(), Retained<NSError>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSKeyValueBinding
only.Expand description
Provided Methods§
unsafe fn discardEditing(&self)
unsafe fn commitEditing(&self) -> bool
unsafe fn commitEditingWithDelegate_didCommitSelector_contextInfo( &self, delegate: Option<&AnyObject>, did_commit_selector: Option<Sel>, context_info: *mut c_void, )
unsafe fn commitEditingAndReturnError(&self) -> Result<(), Retained<NSError>>
Trait Implementations§
Source§impl ProtocolType for dyn NSEditor
impl ProtocolType for dyn NSEditor
impl<T> ImplementedBy<T> for dyn NSEditor
Implementations on Foreign Types§
impl<T> NSEditor for ProtocolObject<T>
Implementors§
impl NSEditor for NSArrayController
Available on crate feature
NSArrayController
only.impl NSEditor for NSCollectionViewItem
Available on crate feature
NSCollectionView
only.impl NSEditor for NSController
Available on crate feature
NSController
only.impl NSEditor for NSDictionaryController
Available on crate feature
NSDictionaryController
only.impl NSEditor for NSObjectController
Available on crate feature
NSObjectController
only.impl NSEditor for NSPageController
Available on crate feature
NSPageController
only.impl NSEditor for NSSplitViewController
Available on crate feature
NSSplitViewController
only.impl NSEditor for NSTabViewController
Available on crate feature
NSTabViewController
only.impl NSEditor for NSTitlebarAccessoryViewController
Available on crate feature
NSTitlebarAccessoryViewController
only.impl NSEditor for NSTreeController
Available on crate feature
NSTreeController
only.impl NSEditor for NSUserDefaultsController
Available on crate feature
NSUserDefaultsController
only.impl NSEditor for NSViewController
Available on crate feature
NSViewController
only.