pub enum Phase {
Down(Button),
Up(Button),
Moved,
Wheel(IntVector),
}
Expand description
Phase of a mouse event.
Variants§
Down(Button)
A particular button went down.
Up(Button)
A particular button came up.
Moved
The mouse moved, with or without a change in button state.
Wheel(IntVector)
The mouse wheel changed position.
Trait Implementations§
source§impl PartialEq for Phase
impl PartialEq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnwindSafe for Phase
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