[][src]Enum quicksilver::lifecycle::Event

pub enum Event {
    Closed,
    Focused,
    Unfocused,
    Key(KeyButtonState),
    Typed(char),
    MouseMoved(Vector),
    MouseEntered,
    MouseExited,
    MouseWheel(Vector),
    MouseButton(MouseButtonButtonState),
    GamepadAxis(i32GamepadAxisf32),
    GamepadButton(i32GamepadButtonButtonState),
    GamepadConnected(i32),
    GamepadDisconnected(i32),
}

An input event

Variants

The application has been closed

The application has gained focus

The application has lost focus

A key has changed its button state

An alphanumeric character has been entered from the keyboard

The mouse has been moved to a position

The mouse has entered the window

The mouse has exited the window

The mouse wheel has been scrolled by a vector

A mouse button has changed its button state

A gamepad axis has changed its state

A gamepad button has changed its state

A gamepad has been connected

A gamepad has been disconnected

Trait Implementations

impl Clone for Event
[src]

Performs copy-assignment from source. Read more

impl Copy for Event
[src]

impl Debug for Event
[src]

Auto Trait Implementations

impl Send for Event

impl Sync for Event

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T

Sets value as a parameter of self.

impl<T> Erased for T

impl<T> Same for T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]