pub enum Action {
Focus,
Activate,
Toggle,
SetValue,
Scroll,
Select,
Expand,
}Expand description
A descriptive capability hint: a diagnostic, never a callback endpoint.
Variants§
Focus
The node can take focus.
Activate
The node can be activated (pressed, chosen).
Toggle
The node’s checked state can be flipped.
SetValue
The node’s value can be replaced.
Scroll
The node’s viewport can be scrolled.
Select
The node can be selected within its set.
Expand
The node can be expanded or collapsed.
Trait Implementations§
impl Copy for Action
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
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§
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