pub struct UiActions {
pub primary: Action,
pub next: Action,
pub previous: Action,
pub activate: Action,
pub cancel: Action,
}Expand description
Physical bindings remain game-owned; these actions drive the interaction state.
Fields§
§primary: ActionPointer’s primary button action.
next: ActionMove focus forward in region order.
previous: ActionMove focus backward in region order.
activate: ActionActivate the focused region on a press edge.
cancel: ActionCancel pointer capture and clear keyboard focus.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UiActions
impl RefUnwindSafe for UiActions
impl Send for UiActions
impl Sync for UiActions
impl Unpin for UiActions
impl UnsafeUnpin for UiActions
impl UnwindSafe for UiActions
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