Struct amethyst::WindowEvent
[−]
[src]
pub struct WindowEvent { pub payload: Event, }
A window-generated event.
Fields
payload: Event
Underlying Glutin event type.
Methods
impl WindowEvent
[src]
fn new(event: Event) -> WindowEvent
Creates a new window event from the given Glutin event.
Trait Implementations
impl Component for WindowEvent
[src]
type Storage = VecStorage<WindowEvent>
Associated storage type for this component.
impl Deref for WindowEvent
[src]
type Target = Event
The resulting type after dereferencing
fn deref(&self) -> &Event
The method called to dereference a value