Trait NSAccessibilityButton

Source
pub unsafe trait NSAccessibilityButton: NSAccessibilityElementProtocol {
    // Provided methods
    unsafe fn accessibilityLabel(&self) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn accessibilityPerformPress(&self) -> bool
       where Self: Sized + Message { ... }
}
Available on crate feature NSAccessibilityProtocols only.
Expand description

Provided Methods§

Source

unsafe fn accessibilityLabel(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

Source

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

Trait Implementations§

Source§

impl ProtocolType for dyn NSAccessibilityButton

Source§

const NAME: &'static str = "NSAccessibilityButton"

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 NSAccessibilityButton

Implementations on Foreign Types§

Source§

impl<T> NSAccessibilityButton for ProtocolObject<T>

Implementors§

Source§

impl NSAccessibilityButton for NSButton

Available on crate feature NSButton only.
Source§

impl NSAccessibilityButton for NSPopUpButton

Available on crate feature NSPopUpButton only.
Source§

impl NSAccessibilityButton for NSStatusBarButton

Available on crate feature NSStatusBarButton only.
Source§

impl NSAccessibilityButton for NSSwitch

Available on crate feature NSSwitch only.