pub enum Role {
Window,
Group,
Button,
TextField,
Text,
}Expand description
The semantic kind of an AccessNode.
Variants§
Window
The top-level window (tree root).
Group
A non-interactive container.
Button
An activatable control (has a tap handler).
TextField
An editable text field (focusable / keyboard target).
Text
A run of static text.
Trait Implementations§
impl Copy for Role
impl Eq for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
Blanket Implementations§
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