Enum rust_raylib::ffi::GamepadAxis  
source · #[repr(C)]pub enum GamepadAxis {
    LeftX = 0,
    LeftY = 1,
    RightX = 2,
    RightY = 3,
    LeftTrigger = 4,
    RightTrigger = 5,
}Expand description
Gamepad axis
Variants§
LeftX = 0
Gamepad left stick X axis
LeftY = 1
Gamepad left stick Y axis
RightX = 2
Gamepad right stick X axis
RightY = 3
Gamepad right stick Y axis
LeftTrigger = 4
Gamepad back trigger left, pressure level: [1..-1]
RightTrigger = 5
Gamepad back trigger right, pressure level: [1..-1]
Trait Implementations§
source§impl Clone for GamepadAxis
 
impl Clone for GamepadAxis
source§fn clone(&self) -> GamepadAxis
 
fn clone(&self) -> GamepadAxis
Returns a copy 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 GamepadAxis
 
impl Debug for GamepadAxis
source§impl Hash for GamepadAxis
 
impl Hash for GamepadAxis
source§impl PartialEq for GamepadAxis
 
impl PartialEq for GamepadAxis
source§fn eq(&self, other: &GamepadAxis) -> bool
 
fn eq(&self, other: &GamepadAxis) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for GamepadAxis
impl Eq for GamepadAxis
impl StructuralEq for GamepadAxis
impl StructuralPartialEq for GamepadAxis
Auto Trait Implementations§
impl RefUnwindSafe for GamepadAxis
impl Send for GamepadAxis
impl Sync for GamepadAxis
impl Unpin for GamepadAxis
impl UnwindSafe for GamepadAxis
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