Enum spectra::bootstrap::WindowEvent []

pub enum WindowEvent {
    Pos(i32i32),
    Size(i32i32),
    Close,
    Refresh,
    Focus(bool),
    Iconify(bool),
    FramebufferSize(i32i32),
    MouseButton(MouseButtonAction, Modifiers),
    CursorPos(f64f64),
    CursorEnter(bool),
    Scroll(f64f64),
    Key(Keyi32Action, Modifiers),
    Char(char),
    CharModifiers(char, Modifiers),
    FileDrop(Vec<PathBuf>),
}

Window event messages.

Variants

Trait Implementations

impl Clone for WindowEvent

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd<WindowEvent> for WindowEvent

impl PartialEq<WindowEvent> for WindowEvent

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for WindowEvent

Formats the value using the given formatter.