Enum basalt::input::Event[][src]

pub enum Event {
Show 17 variants KeyPress(Qwery), KeyRelease(Qwery), MousePress(MouseButton), MouseRelease(MouseButton), MouseMotion(f32f32), MousePosition(f32f32), MouseScroll(f32), MouseEnter, MouseLeave, WindowResize(u32u32), WindowScale(f32), WindowRedraw, WindowFocused, WindowLostFocus, AddHook(InputHookIDInputHookInputHookFn), DelHook(InputHookID), FullscreenExclusive(bool),
}

Variants

KeyPress(Qwery)

Tuple Fields

0: Qwery

KeyRelease(Qwery)

Tuple Fields

0: Qwery

MousePress(MouseButton)

Tuple Fields

MouseRelease(MouseButton)

Tuple Fields

MouseMotion(f32f32)

Tuple Fields

0: f32
1: f32

MousePosition(f32f32)

Tuple Fields

0: f32
1: f32

MouseScroll(f32)

Tuple Fields

0: f32

MouseEnter

MouseLeave

WindowResize(u32u32)

Tuple Fields

0: u32
1: u32

WindowScale(f32)

Tuple Fields

0: f32

WindowRedraw

WindowFocused

WindowLostFocus

AddHook(InputHookIDInputHookInputHookFn)

Tuple Fields

DelHook(InputHookID)

Tuple Fields

FullscreenExclusive(bool)

Tuple Fields

0: bool

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.