Skip to main content

NSAccessibilitySwitch

Trait NSAccessibilitySwitch 

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

Provided Methods§

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSAccessibilitySwitch

Source§

impl ProtocolType for dyn NSAccessibilitySwitch

Source§

const NAME: &'static str = "NSAccessibilitySwitch"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NSAccessibilitySwitch for ProtocolObject<T>

Implementors§

Source§

impl NSAccessibilitySwitch for NSSwitch

Available on crate feature NSSwitch only.