pub enum Events {
Component {
event: ComponentEvent,
issued_at: Instant,
},
Window {
event: WindowEvent,
issued_at: Instant,
},
Runtime {
event: RuntimeEvent,
issued_at: Instant,
},
Keyboard {
event: Key,
issued_at: Instant,
},
Mouse {
event: Mouse,
issued_at: Instant,
},
}
Expand description
Generic Event Enum which encapsulates all possible events that will be emitted by the LambdaKernel
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Events
impl RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnwindSafe for Events
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