pub enum MouseReport {
SGR1006 {
x: u16,
y: u16,
button: MouseButton,
modifiers: Modifiers,
},
SGR1016 {
x_pixels: u16,
y_pixels: u16,
button: MouseButton,
modifiers: Modifiers,
},
}
Variants
SGR1006
SGR1016
Trait Implementations
sourceimpl Clone for MouseReport
impl Clone for MouseReport
sourcefn clone(&self) -> MouseReport
fn clone(&self) -> MouseReport
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MouseReport
impl Debug for MouseReport
sourceimpl Display for MouseReport
impl Display for MouseReport
sourceimpl PartialEq<MouseReport> for MouseReport
impl PartialEq<MouseReport> for MouseReport
sourcefn eq(&self, other: &MouseReport) -> bool
fn eq(&self, other: &MouseReport) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MouseReport) -> bool
fn ne(&self, other: &MouseReport) -> bool
This method tests for !=
.
impl Eq for MouseReport
impl StructuralEq for MouseReport
impl StructuralPartialEq for MouseReport
Auto Trait Implementations
impl RefUnwindSafe for MouseReport
impl Send for MouseReport
impl Sync for MouseReport
impl Unpin for MouseReport
impl UnwindSafe for MouseReport
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more