pub enum UiEventKind {
}Expand description
Unified UI interaction event dispatched identically across all 7 platforms.
Variants§
Click(Point)
Primary click or tap activation.
PointerDown(Point)
Pointer contact down (mouse press, finger touch, stylus down).
PointerMove(Point)
Pointer motion over or dragging the node.
PointerUp(Point)
Pointer release.
PointerCancel
Pointer interaction cancelled by OS or gesture arbitration.
PointerEnter
Pointer entered node bounds.
PointerLeave
Pointer exited node bounds.
Scroll(Point)
Scroll wheel or touch pan delta.
KeyDown(KeyCode, Modifiers)
Key press while focused.
KeyUp(KeyCode, Modifiers)
Key release while focused.
TextInput(String)
Text committed via keyboard or IME.
Change(String)
Input value mutated.
Focus
Node gained keyboard focus.
Blur
Node lost keyboard focus.
Trait Implementations§
Source§impl Clone for UiEventKind
impl Clone for UiEventKind
Source§impl Debug for UiEventKind
impl Debug for UiEventKind
Source§impl PartialEq for UiEventKind
impl PartialEq for UiEventKind
impl StructuralPartialEq for UiEventKind
Auto Trait Implementations§
impl Forget for UiEventKind
impl Freeze for UiEventKind
impl Move for UiEventKind
impl RefUnwindSafe for UiEventKind
impl Send for UiEventKindwhere
RawVecInner: Send,
impl Sync for UiEventKindwhere
RawVecInner: Sync,
impl Unpin for UiEventKind
impl UnsafeUnpin for UiEventKind
impl UnwindSafe for UiEventKindwhere
RawVecInner: UnwindSafe,
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