#[repr(u8)]pub enum ControllerAnalog {
LeftX = 0,
LeftY = 1,
RightX = 2,
RightY = 3,
}
Expand description
An Analog Joystick on the Controller
Variants§
LeftX = 0
The x axis of the left joystick
LeftY = 1
The y axis of the left joystick
RightX = 2
The x axis of the right joystick
RightY = 3
The y axis of the right joystick
Trait Implementations§
Source§impl Clone for ControllerAnalog
impl Clone for ControllerAnalog
Source§fn clone(&self) -> ControllerAnalog
fn clone(&self) -> ControllerAnalog
Returns a duplicate of the value. Read more
1.0.0 · 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 ControllerAnalog
impl Debug for ControllerAnalog
impl Copy for ControllerAnalog
Auto Trait Implementations§
impl Freeze for ControllerAnalog
impl RefUnwindSafe for ControllerAnalog
impl Send for ControllerAnalog
impl Sync for ControllerAnalog
impl Unpin for ControllerAnalog
impl UnwindSafe for ControllerAnalog
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