Trait NSAccessibilitySwitch

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

Provided Methods§

Source

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

Source

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

Source

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

Trait Implementations§

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
Source§

impl<T> ImplementedBy<T> for dyn NSAccessibilitySwitch

Implementations on Foreign Types§

Source§

impl<T> NSAccessibilitySwitch for ProtocolObject<T>

Implementors§

Source§

impl NSAccessibilitySwitch for NSSwitch

Available on crate feature NSSwitch only.