Enum glfw::WindowEvent [−][src]
pub enum WindowEvent {}Show 17 variants
Pos(i32, i32), Size(i32, i32), Close, Refresh, Focus(bool), Iconify(bool), FramebufferSize(i32, i32), MouseButton(MouseButton, Action, Modifiers), CursorPos(f64, f64), CursorEnter(bool), Scroll(f64, f64), Key(Key, Scancode, Action, Modifiers), Char(char), CharModifiers(char, Modifiers), FileDrop(Vec<PathBuf>), Maximize(bool), ContentScale(f32, f32),
Expand description
Window event messages.
Variants
Focus(bool)
Iconify(bool)
MouseButton(MouseButton, Action, Modifiers)
CursorEnter(bool)
Char(char)
Maximize(bool)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for WindowEvent
impl Send for WindowEvent
impl Sync for WindowEvent
impl Unpin for WindowEvent
impl UnwindSafe for WindowEvent
Blanket Implementations
Mutably borrows from an owned value. Read more