Enum cuivre::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
NoneShownHiddenExposedMoved(i32, i32)Resized(i32, i32)SizeChanged(i32, i32)MinimizedMaximizedRestoredEnterLeaveFocusGainedFocusLostCloseTakeFocusHitTest
Trait Implementations
impl Hash for WindowEvent[src]
impl Hash for WindowEventfn 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 WindowEventfn clone(&self) -> WindowEvent[src]
fn clone(&self) -> WindowEventReturns 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 WindowEventfn 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 WindowEventimpl Eq for WindowEvent[src]
impl Eq for WindowEventimpl PartialEq<WindowEvent> for WindowEvent[src]
impl PartialEq<WindowEvent> for WindowEventfn eq(&self, other: &WindowEvent) -> bool[src]
fn eq(&self, other: &WindowEvent) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for WindowEvent
impl Send for WindowEventimpl Sync for WindowEvent
impl Sync for WindowEvent