usecore::{shrev::{EventChannel, ReaderId},specs::{Read, Resources, SystemData},
EventReader,};userenderer::Event;useui::UiEvent;/// The enum holding the different types of event that can be received in a `State` in the handle_event method.
#[derive(Clone, EventReader)]#[reader(StateEventReader)]pubenumStateEvent{/// Events sent by the winit window.
Window(Event),/// Events sent by the ui system.
Ui(UiEvent),}