Trait objc2_app_kit::NSEditor
source · pub unsafe trait NSEditor: NSObjectProtocol + IsMainThreadOnly {
// 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<(), Id<NSError>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSKeyValueBinding
only.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<(), Id<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 features
NSController
and NSObjectController
and NSArrayController
only.impl NSEditor for NSCollectionViewItem
Available on crate features
NSResponder
and NSViewController
and NSCollectionView
only.impl NSEditor for NSController
Available on crate feature
NSController
only.impl NSEditor for NSDictionaryController
Available on crate features
NSArrayController
and NSController
and NSObjectController
and NSDictionaryController
only.impl NSEditor for NSObjectController
Available on crate features
NSController
and NSObjectController
only.impl NSEditor for NSPageController
Available on crate features
NSResponder
and NSViewController
and NSPageController
only.impl NSEditor for NSSplitViewController
Available on crate features
NSResponder
and NSViewController
and NSSplitViewController
only.impl NSEditor for NSTabViewController
Available on crate features
NSResponder
and NSViewController
and NSTabViewController
only.impl NSEditor for NSTitlebarAccessoryViewController
Available on crate features
NSResponder
and NSViewController
and NSTitlebarAccessoryViewController
only.impl NSEditor for NSTreeController
Available on crate features
NSController
and NSObjectController
and NSTreeController
only.impl NSEditor for NSUserDefaultsController
Available on crate features
NSController
and NSUserDefaultsController
only.impl NSEditor for NSViewController
Available on crate features
NSResponder
and NSViewController
only.