Trait objc2_app_kit::NSAlertDelegate

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

Provided Methods§

source

unsafe fn alertShowHelp(&self, alert: &NSAlert) -> bool
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSAlertDelegate

source§

const NAME: &'static str = "NSAlertDelegate"

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 NSAlertDelegate

Implementations on Foreign Types§

source§

impl<T> NSAlertDelegate for ProtocolObject<T>
where T: ?Sized + NSAlertDelegate,

Implementors§