pub unsafe trait NSValidatedUserInterfaceItem: MainThreadOnly {
// Provided methods
fn action(&self) -> Option<Sel>
where Self: Sized + Message { ... }
fn tag(&self) -> NSInteger
where Self: Sized + Message { ... }
}Available on crate feature
NSUserInterfaceValidation only.Expand description
Provided Methods§
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSValidatedUserInterfaceItem
Source§impl ProtocolType for dyn NSValidatedUserInterfaceItem
impl ProtocolType for dyn NSValidatedUserInterfaceItem
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl<T> NSValidatedUserInterfaceItem for ProtocolObject<T>where
T: ?Sized + NSValidatedUserInterfaceItem,
Implementors§
impl NSValidatedUserInterfaceItem for NSMenuItem
Available on crate feature
NSMenuItem only.impl NSValidatedUserInterfaceItem for NSToolbarItem
Available on crate feature
NSToolbarItem only.