Enum gilrs_core::EventType
source · pub enum EventType {
ButtonPressed(EvCode),
ButtonReleased(EvCode),
AxisValueChanged(i32, EvCode),
Connected,
Disconnected,
}
Expand description
Gamepad event.
Variants§
Trait Implementations§
source§impl PartialEq for EventType
impl PartialEq for EventType
impl Copy for EventType
impl Eq for EventType
impl StructuralEq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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