Enum main_game_loop::Event
source · [−]pub enum Event<'e> {
GilrsEvent(GilrsEvent),
WinitEvent(WinitEvent<'e, ()>),
}Variants
GilrsEvent(GilrsEvent)
Controller/gamepad/joystick related events
WinitEvent(WinitEvent<'e, ()>)
Window/Keyboard/Cursor/Device events
Trait Implementations
impl<'e> StructuralPartialEq for Event<'e>
Auto Trait Implementations
impl<'e> RefUnwindSafe for Event<'e>
impl<'e> Send for Event<'e>
impl<'e> Sync for Event<'e>
impl<'e> Unpin for Event<'e>
impl<'e> !UnwindSafe for Event<'e>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more