Struct vex_sdk::controller::V5_ControllerIndex
source · #[repr(C)]pub struct V5_ControllerIndex(/* private fields */);Implementations§
source§impl V5_ControllerIndex
impl V5_ControllerIndex
pub const Axis1: Self = _
pub const Axis2: Self = _
pub const Axis3: Self = _
pub const Axis4: Self = _
pub const ButtonL1: Self = _
pub const ButtonL2: Self = _
pub const ButtonR1: Self = _
pub const ButtonR2: Self = _
pub const ButtonUp: Self = _
pub const ButtonDown: Self = _
pub const ButtonLeft: Self = _
pub const ButtonRight: Self = _
pub const ButtonX: Self = _
pub const ButtonB: Self = _
pub const ButtonY: Self = _
pub const ButtonA: Self = _
pub const ButtonSEL: Self = _
pub const BatteryLevel: Self = _
pub const ButtonAll: Self = _
pub const Flags: Self = _
pub const BatteryCapacity: Self = _
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 · 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 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
source§fn eq(&self, other: &V5_ControllerIndex) -> bool
fn eq(&self, other: &V5_ControllerIndex) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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§
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