pub enum LightgunAxis {
RelativeX,
RelativeY,
ScreenX,
ScreenY,
}Variants§
RelativeX
👎Deprecated:
use ScreenX for the modern absolute lightgun X coordinate
RelativeY
👎Deprecated:
use ScreenY for the modern absolute lightgun Y coordinate
ScreenX
ScreenY
Trait Implementations§
Source§impl Clone for LightgunAxis
impl Clone for LightgunAxis
Source§fn clone(&self) -> LightgunAxis
fn clone(&self) -> LightgunAxis
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 LightgunAxis
impl Debug for LightgunAxis
Source§impl From<LightgunAxis> for InputDescriptorId
impl From<LightgunAxis> for InputDescriptorId
Source§fn from(axis: LightgunAxis) -> Self
fn from(axis: LightgunAxis) -> Self
Converts to this type from the input type.
Source§impl Hash for LightgunAxis
impl Hash for LightgunAxis
Source§impl PartialEq for LightgunAxis
impl PartialEq for LightgunAxis
Source§fn eq(&self, other: &LightgunAxis) -> bool
fn eq(&self, other: &LightgunAxis) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LightgunAxis
impl Eq for LightgunAxis
impl StructuralPartialEq for LightgunAxis
Auto Trait Implementations§
impl Freeze for LightgunAxis
impl RefUnwindSafe for LightgunAxis
impl Send for LightgunAxis
impl Sync for LightgunAxis
impl Unpin for LightgunAxis
impl UnsafeUnpin for LightgunAxis
impl UnwindSafe for LightgunAxis
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