Skip to main content

NSAccessibilityColor

Trait NSAccessibilityColor 

Source
pub unsafe trait NSAccessibilityColor {
    // Provided method
    fn accessibilityName(&self) -> Retained<NSString>
       where Self: Sized + Message { ... }
}
Available on crate feature NSAccessibilityColor only.
Expand description

Provided Methods§

Source

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

Returns a localized description of the color for use in accessibility attributes.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSAccessibilityColor

Source§

impl ProtocolType for dyn NSAccessibilityColor

Source§

const NAME: &'static str = "NSAccessibilityColor"

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> NSAccessibilityColor for ProtocolObject<T>

Implementors§