pub unsafe trait UIAccessibilityIdentification: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn accessibilityIdentifier(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
unsafe fn setAccessibilityIdentifier(
&self,
accessibility_identifier: Option<&NSString>,
)
where Self: Sized + Message { ... }
}
Available on crate feature
UIAccessibilityIdentification
only.Expand description
Provided Methods§
unsafe fn accessibilityIdentifier(&self) -> Option<Retained<NSString>>
Sourceunsafe fn setAccessibilityIdentifier(
&self,
accessibility_identifier: Option<&NSString>,
)
unsafe fn setAccessibilityIdentifier( &self, accessibility_identifier: Option<&NSString>, )
Setter for accessibilityIdentifier
.
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.