Trait objc2_app_kit::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.

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.
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 features NSControl and NSResponder and NSView and NSButton only.
source§

impl NSAccessibilityButton for NSPopUpButton

Available on crate features NSButton and NSControl and NSResponder and NSView and NSPopUpButton only.
source§

impl NSAccessibilityButton for NSStatusBarButton

Available on crate features NSButton and NSControl and NSResponder and NSView and NSStatusBarButton only.
source§

impl NSAccessibilityButton for NSSwitch

Available on crate features NSControl and NSResponder and NSView and NSSwitch only.