pub enum LightgunButton {
Show 14 variants
Trigger,
Reload,
AuxA,
AuxB,
AuxC,
Start,
Select,
DpadUp,
DpadDown,
DpadLeft,
DpadRight,
Cursor,
Turbo,
Pause,
}Variants§
Trigger
Reload
AuxA
AuxB
AuxC
Start
Select
DpadUp
DpadDown
DpadLeft
DpadRight
Cursor
👎Deprecated:
use AuxA instead
Turbo
👎Deprecated:
use AuxB instead
Pause
👎Deprecated:
use Start instead
Trait Implementations§
Source§impl Clone for LightgunButton
impl Clone for LightgunButton
Source§fn clone(&self) -> LightgunButton
fn clone(&self) -> LightgunButton
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LightgunButton
impl Debug for LightgunButton
Source§impl From<LightgunButton> for InputDescriptorId
impl From<LightgunButton> for InputDescriptorId
Source§fn from(button: LightgunButton) -> Self
fn from(button: LightgunButton) -> Self
Converts to this type from the input type.
Source§impl Hash for LightgunButton
impl Hash for LightgunButton
Source§impl PartialEq for LightgunButton
impl PartialEq for LightgunButton
Source§fn eq(&self, other: &LightgunButton) -> bool
fn eq(&self, other: &LightgunButton) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LightgunButton
impl Eq for LightgunButton
impl StructuralPartialEq for LightgunButton
Auto Trait Implementations§
impl Freeze for LightgunButton
impl RefUnwindSafe for LightgunButton
impl Send for LightgunButton
impl Sync for LightgunButton
impl Unpin for LightgunButton
impl UnsafeUnpin for LightgunButton
impl UnwindSafe for LightgunButton
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