Trait aventurine::AventurineEvent [] [src]

pub trait AventurineEvent {
    fn get_window_event(&self) -> Option<WindowEvent>;
fn with_window_event(_: usize, _: WindowEvent) -> Self; }

The E type passed to topaz::Universe must implement this trait in order to use Aventurine with the Universe.

Required Methods

Get the WindowEvent associated with the event.

Create an event with an associated WindowEvent.

Implementors