Struct gilrs_core::EvCode
source · #[repr(transparent)]pub struct EvCode(pub(crate) EvCode);
Expand description
Platform specific representation of axis or button.
Tuple Fields§
§0: EvCode
Implementations§
Trait Implementations§
source§impl From<input_event> for EvCode
impl From<input_event> for EvCode
source§fn from(f: input_event) -> Self
fn from(f: input_event) -> Self
Converts to this type from the input type.
source§impl Ord for EvCode
impl Ord for EvCode
source§impl PartialEq for EvCode
impl PartialEq for EvCode
source§impl PartialOrd for EvCode
impl PartialOrd for EvCode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EvCode
impl Eq for EvCode
impl StructuralPartialEq for EvCode
Auto Trait Implementations§
impl Freeze for EvCode
impl RefUnwindSafe for EvCode
impl Send for EvCode
impl Sync for EvCode
impl Unpin for EvCode
impl UnwindSafe for EvCode
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