Struct rich_sdl2_rust::event::joystick::InputIndex
source · pub struct InputIndex(_);
Expand description
An index on the input device on the joystick. This is only generated from joystick input events from crate::EventBox
.
Trait Implementations§
source§impl Clone for InputIndex
impl Clone for InputIndex
source§fn clone(&self) -> InputIndex
fn clone(&self) -> InputIndex
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 InputIndex
impl Debug for InputIndex
source§impl PartialEq<InputIndex> for InputIndex
impl PartialEq<InputIndex> for InputIndex
source§fn eq(&self, other: &InputIndex) -> bool
fn eq(&self, other: &InputIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.