Trait objc2_app_kit::NSAccessibilityStepper

source ·
pub unsafe trait NSAccessibilityStepper: NSAccessibilityElementProtocol {
    // Provided methods
    unsafe fn accessibilityLabel(&self) -> Option<Id<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn accessibilityPerformIncrement(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn accessibilityPerformDecrement(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn accessibilityValue(&self) -> Option<Id<AnyObject>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSAccessibilityProtocols only.

Provided Methods§

source

unsafe fn accessibilityLabel(&self) -> Option<Id<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,

source

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

Trait Implementations§

source§

impl ProtocolType for dyn NSAccessibilityStepper

source§

const NAME: &'static str = "NSAccessibilityStepper"

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 NSAccessibilityStepper

Implementations on Foreign Types§

source§

impl<T> NSAccessibilityStepper for ProtocolObject<T>

Implementors§

source§

impl NSAccessibilityStepper for NSStepper

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