pub unsafe trait UIAccessibilityIdentification: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn accessibilityIdentifier(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn setAccessibilityIdentifier(
&self,
accessibility_identifier: Option<&NSString>,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIAccessibilityIdentification only.Expand description
Provided Methods§
fn accessibilityIdentifier(&self) -> Option<Retained<NSString>>
Sourcefn setAccessibilityIdentifier(
&self,
accessibility_identifier: Option<&NSString>,
)
fn setAccessibilityIdentifier( &self, accessibility_identifier: Option<&NSString>, )
Setter for accessibilityIdentifier.
This is copied when set.
Trait Implementations§
Source§impl ProtocolType for dyn UIAccessibilityIdentification
impl ProtocolType for dyn UIAccessibilityIdentification
impl<T> ImplementedBy<T> for dyn UIAccessibilityIdentification
Implementations on Foreign Types§
impl<T> UIAccessibilityIdentification for ProtocolObject<T>where
T: ?Sized + UIAccessibilityIdentification,
Implementors§
impl UIAccessibilityIdentification for UIAccessibilityElement
Available on crate feature
UIAccessibilityElement only.impl UIAccessibilityIdentification for UIAlertAction
impl UIAccessibilityIdentification for UIBarItem
impl UIAccessibilityIdentification for UIMenuElement
impl UIAccessibilityIdentification for UITab
Available on crate feature
UITab only.