Enum cuivre::input::WindowEvent [−][src]
pub enum WindowEvent { None, Shown, Hidden, Exposed, Moved(i32, i32), Resized(i32, i32), SizeChanged(i32, i32), Minimized, Maximized, Restored, Enter, Leave, FocusGained, FocusLost, Close, TakeFocus, HitTest, }
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
impl Hash for WindowEvent
[src]
impl Hash for WindowEvent
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for WindowEvent
[src]
impl Clone for WindowEvent
fn clone(&self) -> WindowEvent
[src]
fn clone(&self) -> WindowEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for WindowEvent
[src]
impl Debug for WindowEvent
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for WindowEvent
[src]
impl Copy for WindowEvent
impl Eq for WindowEvent
[src]
impl Eq for WindowEvent
impl PartialEq<WindowEvent> for WindowEvent
[src]
impl PartialEq<WindowEvent> for WindowEvent
fn eq(&self, other: &WindowEvent) -> bool
[src]
fn eq(&self, other: &WindowEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &WindowEvent) -> bool
[src]
fn ne(&self, other: &WindowEvent) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for WindowEvent
impl Send for WindowEvent
impl Sync for WindowEvent
impl Sync for WindowEvent