Trait objc2_app_kit::NSAccessibilityButton
source · pub unsafe trait NSAccessibilityButton: NSAccessibilityElementProtocol {
// Provided methods
unsafe fn accessibilityLabel(&self) -> Option<Id<NSString>>
where Self: Sized + Message { ... }
unsafe fn accessibilityPerformPress(&self) -> bool
where Self: Sized + Message { ... }
}Available on crate feature
NSAccessibilityProtocols only.Provided Methods§
unsafe fn accessibilityLabel(&self) -> Option<Id<NSString>>
unsafe fn accessibilityPerformPress(&self) -> bool
Trait Implementations§
source§impl ProtocolType for dyn NSAccessibilityButton
impl ProtocolType for dyn NSAccessibilityButton
impl<T> ImplementedBy<T> for dyn NSAccessibilityButton
Implementations on Foreign Types§
impl<T> NSAccessibilityButton for ProtocolObject<T>where
T: ?Sized + NSAccessibilityButton,
Implementors§
impl NSAccessibilityButton for NSButton
Available on crate features
NSControl and NSResponder and NSView and NSButton only.impl NSAccessibilityButton for NSPopUpButton
Available on crate features
NSButton and NSControl and NSResponder and NSView and NSPopUpButton only.impl NSAccessibilityButton for NSStatusBarButton
Available on crate features
NSButton and NSControl and NSResponder and NSView and NSStatusBarButton only.impl NSAccessibilityButton for NSSwitch
Available on crate features
NSControl and NSResponder and NSView and NSSwitch only.