Trait objc2_app_kit::NSToolbarItemValidation

source ·
pub unsafe trait NSToolbarItemValidation: NSObjectProtocol + IsMainThreadOnly {
    // Provided method
    unsafe fn validateToolbarItem(&self, item: &NSToolbarItem) -> bool
       where Self: Sized + Message { ... }
}
Available on crate feature NSToolbarItem only.

Provided Methods§

source

unsafe fn validateToolbarItem(&self, item: &NSToolbarItem) -> bool
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSToolbarItemValidation

source§

const NAME: &'static str = "NSToolbarItemValidation"

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 NSToolbarItemValidation

Implementations on Foreign Types§

source§

impl<T> NSToolbarItemValidation for ProtocolObject<T>

Implementors§