Enum nannou::ui::backend::glium::glium::backend::glutin::glutin::Event[]

pub enum Event {
    WindowEvent {
        window_id: WindowId,
        event: WindowEvent,
    },
    DeviceEvent {
        device_id: DeviceId,
        event: DeviceEvent,
    },
    Awakened,
    Suspended(bool),
}

Describes a generic event.

Variants

Fields of WindowEvent

Fields of DeviceEvent

The application has been suspended or resumed.

The parameter is true if app was suspended, and false if it has been resumed.

Trait Implementations

impl Clone for Event

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Event

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Event

impl Sync for Event