pub struct Action {
pub name: String,
pub label: String,
pub primary: bool,
}Expand description
An accessibility action an element exposes.
Fields§
§name: StringThe platform’s raw action name, e.g. AXPress, Invoke, click.
label: StringHuman-readable label, e.g. Press, Show Menu.
primary: boolWhether this is the element’s default “click” action.
Implementations§
Trait Implementations§
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Forget for Action
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more