Enum wai::Event [] [src]

pub enum Event<W: WindowID, D: DeviceID> {
    Window {
        window: W,
        event: WindowEvent<D>,
    },
    Device {
        device: D,
        event: DeviceEvent,
    },
}

Variants

Fields of Window

Fields of Device

Methods

impl<W: WindowID, D: DeviceID> Event<W, D>
[src]

Trait Implementations

impl<W: Debug + WindowID, D: Debug + DeviceID> Debug for Event<W, D>
[src]

Formats the value using the given formatter.

impl<W: Clone + WindowID, D: Clone + DeviceID> Clone for Event<W, D>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more