pub unsafe trait NSMenuItemValidation: NSObjectProtocol + MainThreadOnly {
// Provided method
unsafe fn validateMenuItem(&self, menu_item: &NSMenuItem) -> bool
where Self: Sized + Message { ... }
}Available on crate feature
NSMenu only.Expand description
Provided Methods§
unsafe fn validateMenuItem(&self, menu_item: &NSMenuItem) -> bool
Available on crate feature
NSMenuItem only.Trait Implementations§
Source§impl ProtocolType for dyn NSMenuItemValidation
impl ProtocolType for dyn NSMenuItemValidation
impl<T> ImplementedBy<T> for dyn NSMenuItemValidation
Implementations on Foreign Types§
impl<T> NSMenuItemValidation for ProtocolObject<T>where
T: ?Sized + NSMenuItemValidation,
Implementors§
impl NSMenuItemValidation for NSApplication
Available on crate features
NSResponder and NSApplication only.impl NSMenuItemValidation for NSColorPanel
Available on crate features
NSPanel and NSResponder and NSWindow and NSColorPanel only.impl NSMenuItemValidation for NSDocument
Available on crate feature
NSDocument only.impl NSMenuItemValidation for NSDocumentController
Available on crate feature
NSDocumentController only.impl NSMenuItemValidation for NSFontManager
Available on crate feature
NSFontManager only.impl NSMenuItemValidation for NSFontPanel
Available on crate features
NSPanel and NSResponder and NSWindow and NSFontPanel only.impl NSMenuItemValidation for NSImageView
Available on crate features
NSControl and NSResponder and NSView and NSImageView only.impl NSMenuItemValidation for NSOpenPanel
Available on crate features
NSPanel and NSResponder and NSSavePanel and NSWindow and NSOpenPanel only.impl NSMenuItemValidation for NSPanel
Available on crate features
NSResponder and NSWindow and NSPanel only.impl NSMenuItemValidation for NSPathCell
Available on crate features
NSActionCell and NSCell and NSPathCell only.impl NSMenuItemValidation for NSPersistentDocument
Available on crate features
NSDocument and NSPersistentDocument only.impl NSMenuItemValidation for NSPopUpButtonCell
Available on crate features
NSActionCell and NSButtonCell and NSCell and NSMenuItemCell and NSPopUpButtonCell only.impl NSMenuItemValidation for NSSavePanel
Available on crate features
NSPanel and NSResponder and NSWindow and NSSavePanel only.impl NSMenuItemValidation for NSTextView
Available on crate features
NSResponder and NSText and NSView and NSTextView only.impl NSMenuItemValidation for NSToolbarItem
Available on crate feature
NSToolbarItem only.impl NSMenuItemValidation for NSWindow
Available on crate features
NSResponder and NSWindow only.