[][src]Enum blinds::Event

pub enum Event {
    Resized(Vector2<f32>),
    Focused(bool),
    ReceivedCharacter(char),
    KeyboardInput {
        key: Key,
        modifiers: Modifiers,
        state: ElementState,
    },
    MouseEntered {
        pointer: Pointer,
    },
    MouseLeft {
        pointer: Pointer,
    },
    MouseMoved {
        pointer: Pointer,
        position: Vector2<f32>,
        modifiers: Modifiers,
    },
    MouseWheel {
        pointer: Pointer,
        delta: MouseScrollDelta,
        modifiers: Modifiers,
    },
    MouseInput {
        pointer: Pointer,
        state: ElementState,
        button: MouseButton,
        modifiers: Modifiers,
    },
    GamepadEvent {
        id: GamepadId,
        event: GamepadEvent,
    },
}

Variants

Resized(Vector2<f32>)
Focused(bool)
ReceivedCharacter(char)
KeyboardInput

Fields of KeyboardInput

key: Keymodifiers: Modifiersstate: ElementState
MouseEntered

Fields of MouseEntered

pointer: Pointer
MouseLeft

Fields of MouseLeft

pointer: Pointer
MouseMoved

Fields of MouseMoved

pointer: Pointerposition: Vector2<f32>modifiers: Modifiers
MouseWheel

Fields of MouseWheel

pointer: Pointerdelta: MouseScrollDeltamodifiers: Modifiers
MouseInput

Fields of MouseInput

pointer: Pointerstate: ElementStatebutton: MouseButtonmodifiers: Modifiers
GamepadEvent

Fields of GamepadEvent

id: GamepadIdevent: GamepadEvent

Trait Implementations

impl Debug for Event[src]

Auto Trait Implementations

impl Send for Event

impl Sync for Event

impl Unpin for Event

impl UnwindSafe for Event

impl RefUnwindSafe for Event

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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