pub enum ActionCategory {
Up,
Down,
Right,
Left,
Accept,
Cancel,
Jump,
Run,
ActPrimary,
ActSecondary,
Pause,
}
Expand description
Generic action categories for which default buttons are provided. Can be used by games to set up their default mappings for any input device. Different categories may map to the same buttons, so making inputs inputs context-sensitive are recommended.
Variants§
Auto Trait Implementations§
impl Freeze for ActionCategory
impl RefUnwindSafe for ActionCategory
impl Send for ActionCategory
impl Sync for ActionCategory
impl Unpin for ActionCategory
impl UnwindSafe for ActionCategory
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