pub unsafe trait NSValidatedUserInterfaceItem: IsMainThreadOnly {
    // Provided methods
    unsafe fn action(&self) -> Option<Sel>
       where Self: Sized + Message { ... }
    unsafe fn tag(&self) -> NSInteger
       where Self: Sized + Message { ... }
}
Available on crate feature NSUserInterfaceValidation only.

Provided Methods§

source

unsafe fn action(&self) -> Option<Sel>
where Self: Sized + Message,

source

unsafe fn tag(&self) -> NSInteger
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSValidatedUserInterfaceItem

source§

const NAME: &'static str = "NSValidatedUserInterfaceItem"

The name of the Objective-C protocol that this type represents.
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 NSValidatedUserInterfaceItem

Implementations on Foreign Types§

source§

impl<T> NSValidatedUserInterfaceItem for ProtocolObject<T>

Implementors§

source§

impl NSValidatedUserInterfaceItem for NSMenuItem

Available on crate feature NSMenuItem only.
source§

impl NSValidatedUserInterfaceItem for NSToolbarItem

Available on crate feature NSToolbarItem only.