Struct rich_sdl2_rust::event::joystick::InputIndex
source · pub struct InputIndex(/* private fields */);
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 for InputIndex
impl PartialEq 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 ==
.impl Copy for InputIndex
impl Eq for InputIndex
impl StructuralPartialEq for InputIndex
Auto Trait Implementations§
impl RefUnwindSafe for InputIndex
impl Send for InputIndex
impl Sync for InputIndex
impl Unpin for InputIndex
impl UnwindSafe for InputIndex
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