pub enum WindowEvent<'a> {
Expose(&'a [Rect]),
Frame,
Close,
GainFocus,
LoseFocus,
MouseEnter,
MouseExit,
MouseMove(Point),
MouseDown(MouseButton),
MouseUp(MouseButton),
Scroll(Point),
}
Variants§
Expose(&'a [Rect])
Frame
Close
GainFocus
LoseFocus
MouseEnter
MouseExit
MouseMove(Point)
MouseDown(MouseButton)
MouseUp(MouseButton)
Scroll(Point)
Trait Implementations§
Source§impl<'a> Clone for WindowEvent<'a>
impl<'a> Clone for WindowEvent<'a>
Source§fn clone(&self) -> WindowEvent<'a>
fn clone(&self) -> WindowEvent<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for WindowEvent<'a>
impl<'a> Debug for WindowEvent<'a>
Source§impl<'a> PartialEq for WindowEvent<'a>
impl<'a> PartialEq for WindowEvent<'a>
impl<'a> Copy for WindowEvent<'a>
impl<'a> StructuralPartialEq for WindowEvent<'a>
Auto Trait Implementations§
impl<'a> Freeze for WindowEvent<'a>
impl<'a> RefUnwindSafe for WindowEvent<'a>
impl<'a> Send for WindowEvent<'a>
impl<'a> Sync for WindowEvent<'a>
impl<'a> Unpin for WindowEvent<'a>
impl<'a> UnwindSafe for WindowEvent<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more