Trait NSMenuItemValidation

Source
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§

Source

unsafe fn validateMenuItem(&self, menu_item: &NSMenuItem) -> bool
where Self: Sized + Message,

Available on crate feature NSMenuItem only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSMenuItemValidation

Source§

const NAME: &'static str = "NSMenuItemValidation"

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 NSMenuItemValidation

Implementations on Foreign Types§

Source§

impl<T> NSMenuItemValidation for ProtocolObject<T>

Implementors§

Source§

impl NSMenuItemValidation for NSApplication

Available on crate feature NSApplication only.
Source§

impl NSMenuItemValidation for NSColorPanel

Available on crate feature NSColorPanel only.
Source§

impl NSMenuItemValidation for NSDocument

Available on crate feature NSDocument only.
Source§

impl NSMenuItemValidation for NSDocumentController

Available on crate feature NSDocumentController only.
Source§

impl NSMenuItemValidation for NSFontManager

Available on crate feature NSFontManager only.
Source§

impl NSMenuItemValidation for NSFontPanel

Available on crate feature NSFontPanel only.
Source§

impl NSMenuItemValidation for NSImageView

Available on crate feature NSImageView only.
Source§

impl NSMenuItemValidation for NSOpenPanel

Available on crate feature NSOpenPanel only.
Source§

impl NSMenuItemValidation for NSPanel

Available on crate feature NSPanel only.
Source§

impl NSMenuItemValidation for NSPathCell

Available on crate feature NSPathCell only.
Source§

impl NSMenuItemValidation for NSPersistentDocument

Available on crate feature NSPersistentDocument only.
Source§

impl NSMenuItemValidation for NSPopUpButtonCell

Available on crate feature NSPopUpButtonCell only.
Source§

impl NSMenuItemValidation for NSSavePanel

Available on crate feature NSSavePanel only.
Source§

impl NSMenuItemValidation for NSTextView

Available on crate feature NSTextView only.
Source§

impl NSMenuItemValidation for NSToolbarItem

Available on crate feature NSToolbarItem only.
Source§

impl NSMenuItemValidation for NSWindow

Available on crate feature NSWindow only.