Enum sdl2::event::WindowEvent [] [src]

pub enum WindowEvent {
    None,
    Shown,
    Hidden,
    Exposed,
    Moved(i32i32),
    Resized(i32i32),
    SizeChanged(i32i32),
    Minimized,
    Maximized,
    Restored,
    Enter,
    Leave,
    FocusGained,
    FocusLost,
    Close,
    TakeFocus,
    HitTest,
}

An enum of window events.

Variants

Trait Implementations

impl Copy for WindowEvent
[src]

impl Clone for WindowEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for WindowEvent
[src]

impl PartialEq for WindowEvent
[src]

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

This method tests for !=.

impl Hash for WindowEvent
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for WindowEvent
[src]

Formats the value using the given formatter.