pub enum MouseMotion {
None,
Cell,
All,
}Expand description
Defines the different modes for mouse motion reporting.
Variants§
None
No mouse motion events are reported.
Cell
Mouse motion events are reported when the mouse moves over a different cell.
All
Mouse motion events are reported for every pixel movement.
Trait Implementations§
Source§impl Clone for MouseMotion
impl Clone for MouseMotion
Source§fn clone(&self) -> MouseMotion
fn clone(&self) -> MouseMotion
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 Debug for MouseMotion
impl Debug for MouseMotion
impl Copy for MouseMotion
Auto Trait Implementations§
impl Freeze for MouseMotion
impl RefUnwindSafe for MouseMotion
impl Send for MouseMotion
impl Sync for MouseMotion
impl Unpin for MouseMotion
impl UnwindSafe for MouseMotion
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