pub enum ActionTrigger {
Show 18 variants
Default,
DragStart,
DragUpdate,
DragEnd,
HoverEnter,
HoverExit,
HoverCursor,
Focus,
Blur,
TapOutside,
Change,
EditingComplete,
Submit,
CursorChange,
Drop,
DragEnter,
DragLeave,
SecondaryClick,
}Expand description
What user interaction triggers an action.
Each ActionEntry pairs an ActionTrigger with an action ID so the event
system knows which callback to invoke for a given input gesture.
Variants§
Default
Primary activation: tap, click, or Enter key.
DragStart
The user began dragging this node.
DragUpdate
The drag position changed (fires continuously).
DragEnd
The user released the drag.
HoverEnter
The pointer entered the node’s hit area.
HoverExit
The pointer left the node’s hit area.
HoverCursor
A semantic cursor request applied while the pointer hovers this node.
This is metadata, not a dispatched reducer action.
Focus
The node received keyboard focus.
Blur
The node lost keyboard focus.
TapOutside
A pointer-down happened outside the active text field.
Change
The node’s value changed (sliders, text inputs, etc.).
EditingComplete
Text editing was explicitly completed by the current input method.
Submit
The user submitted a text field.
CursorChange
The caret or selection anchor position changed in a text field.
Drop
A dragged payload was dropped onto this node.
DragEnter
A drag entered this node’s hit area (for drop targets).
DragLeave
A drag left this node’s hit area (for drop targets).
SecondaryClick
Right-click or secondary mouse button.
Trait Implementations§
Source§impl Clone for ActionTrigger
impl Clone for ActionTrigger
Source§fn clone(&self) -> ActionTrigger
fn clone(&self) -> ActionTrigger
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ActionTrigger
impl Debug for ActionTrigger
Source§impl Default for ActionTrigger
impl Default for ActionTrigger
Source§impl<'de> Deserialize<'de> for ActionTrigger
impl<'de> Deserialize<'de> for ActionTrigger
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>,
Source§impl Hash for ActionTrigger
impl Hash for ActionTrigger
Source§impl PartialEq for ActionTrigger
impl PartialEq for ActionTrigger
Source§fn eq(&self, other: &ActionTrigger) -> bool
fn eq(&self, other: &ActionTrigger) -> bool
self and other values to be equal, and is used by ==.