Enum sdl2::event::WindowEvent
source · pub enum WindowEvent {
}
Expand description
An enum of window events.
Variants
None
Shown
Hidden
Exposed
Moved(i32, i32)
Resized(i32, i32)
SizeChanged(i32, i32)
Minimized
Maximized
Restored
Enter
Leave
FocusGained
FocusLost
Close
TakeFocus
HitTest
Trait Implementations
sourceimpl Clone for WindowEvent
impl Clone for WindowEvent
sourcefn clone(&self) -> WindowEvent
fn clone(&self) -> WindowEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WindowEvent
impl Debug for WindowEvent
sourceimpl Hash for WindowEvent
impl Hash for WindowEvent
sourceimpl PartialEq<WindowEvent> for WindowEvent
impl PartialEq<WindowEvent> for WindowEvent
sourcefn eq(&self, other: &WindowEvent) -> bool
fn eq(&self, other: &WindowEvent) -> bool
impl Copy for WindowEvent
impl Eq for WindowEvent
impl StructuralEq for WindowEvent
impl StructuralPartialEq for WindowEvent
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more