#[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 PartialOrd for EvCode
impl PartialOrd for EvCode
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)