#[repr(transparent)]pub struct V5_ControllerIndex(pub c_uchar);
Tuple Fields§
§0: c_uchar
Implementations§
Source§impl V5_ControllerIndex
impl V5_ControllerIndex
pub const AnaLeftX: Self = _
pub const AnaLeftY: Self = _
pub const AnaRightX: Self = _
pub const AnaRightY: Self = _
pub const AnaSpare1: Self = _
pub const AnaSpare2: Self = _
pub const Button5U: Self = _
pub const Button5D: Self = _
pub const Button6U: Self = _
pub const Button6D: Self = _
pub const Button7U: Self = _
pub const Button7D: Self = _
pub const Button7L: Self = _
pub const Button7R: Self = _
pub const Button8U: Self = _
pub const Button8D: Self = _
pub const Button8L: Self = _
pub const Button8R: Self = _
pub const ButtonSEL: Self = _
pub const BatteryLevel: Self = _
pub const ButtonAll: Self = _
pub const Flags: Self = _
pub const BatteryCapacity: Self = _
pub const Axis1: Self = Self::AnaRightX
pub const Axis2: Self = Self::AnaRightY
pub const Axis3: Self = Self::AnaLeftY
pub const Axis4: Self = Self::AnaLeftX
pub const ButtonL1: Self = Self::Button5U
pub const ButtonL2: Self = Self::Button5D
pub const ButtonR1: Self = Self::Button6U
pub const ButtonR2: Self = Self::Button6D
pub const ButtonUp: Self = Self::Button7U
pub const ButtonDown: Self = Self::Button7D
pub const ButtonLeft: Self = Self::Button7L
pub const ButtonRight: Self = Self::Button7R
pub const ButtonX: Self = Self::Button8U
pub const ButtonB: Self = Self::Button8D
pub const ButtonY: Self = Self::Button8L
pub const ButtonA: Self = Self::Button8R
Trait Implementations§
Source§impl Clone for V5_ControllerIndex
impl Clone for V5_ControllerIndex
Source§fn clone(&self) -> V5_ControllerIndex
fn clone(&self) -> V5_ControllerIndex
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for V5_ControllerIndex
impl Debug for V5_ControllerIndex
Source§impl Default for V5_ControllerIndex
impl Default for V5_ControllerIndex
Source§fn default() -> V5_ControllerIndex
fn default() -> V5_ControllerIndex
Returns the “default value” for a type. Read more
Source§impl PartialEq for V5_ControllerIndex
impl PartialEq for V5_ControllerIndex
impl Copy for V5_ControllerIndex
impl Eq for V5_ControllerIndex
impl StructuralPartialEq for V5_ControllerIndex
Auto Trait Implementations§
impl Freeze for V5_ControllerIndex
impl RefUnwindSafe for V5_ControllerIndex
impl Send for V5_ControllerIndex
impl Sync for V5_ControllerIndex
impl Unpin for V5_ControllerIndex
impl UnwindSafe for V5_ControllerIndex
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)