pub enum AnalogStick {
Left,
Right,
}Variants§
Trait Implementations§
Source§impl Clone for AnalogStick
impl Clone for AnalogStick
Source§fn clone(&self) -> AnalogStick
fn clone(&self) -> AnalogStick
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnalogStick
impl Debug for AnalogStick
Source§impl From<AnalogStick> for InputDescriptorIndex
impl From<AnalogStick> for InputDescriptorIndex
Source§fn from(stick: AnalogStick) -> Self
fn from(stick: AnalogStick) -> Self
Converts to this type from the input type.
Source§impl Hash for AnalogStick
impl Hash for AnalogStick
Source§impl PartialEq for AnalogStick
impl PartialEq for AnalogStick
Source§fn eq(&self, other: &AnalogStick) -> bool
fn eq(&self, other: &AnalogStick) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AnalogStick
impl Eq for AnalogStick
impl StructuralPartialEq for AnalogStick
Auto Trait Implementations§
impl Freeze for AnalogStick
impl RefUnwindSafe for AnalogStick
impl Send for AnalogStick
impl Sync for AnalogStick
impl Unpin for AnalogStick
impl UnsafeUnpin for AnalogStick
impl UnwindSafe for AnalogStick
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