pub enum ActionKind {
Button,
Axis1,
Axis2,
}Expand description
What kind of value an action produces.
Variants§
Button
A digital on/off action with edge detection.
Axis1
A 1-D analog axis.
Axis2
A 2-D analog axis.
Trait Implementations§
Source§impl Clone for ActionKind
impl Clone for ActionKind
impl Copy for ActionKind
Source§impl Debug for ActionKind
impl Debug for ActionKind
impl Eq for ActionKind
Source§impl PartialEq for ActionKind
impl PartialEq for ActionKind
impl StructuralPartialEq for ActionKind
Auto Trait Implementations§
impl Freeze for ActionKind
impl RefUnwindSafe for ActionKind
impl Send for ActionKind
impl Sync for ActionKind
impl Unpin for ActionKind
impl UnsafeUnpin for ActionKind
impl UnwindSafe for ActionKind
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