#[repr(u8)]pub enum MouseEventType {
MouseDown = 0,
MouseUp = 1,
MouseMove = 2,
}
Expand description
Types of mouse events that can occur.
Variants§
MouseDown = 0
Mouse button was pressed.
MouseUp = 1
Mouse button was released.
MouseMove = 2
Mouse moved while over the terminal.
Trait Implementations§
Source§impl Clone for MouseEventType
impl Clone for MouseEventType
Source§fn clone(&self) -> MouseEventType
fn clone(&self) -> MouseEventType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MouseEventType
impl Debug for MouseEventType
Source§impl PartialEq for MouseEventType
impl PartialEq for MouseEventType
impl Copy for MouseEventType
impl StructuralPartialEq for MouseEventType
Auto Trait Implementations§
impl Freeze for MouseEventType
impl RefUnwindSafe for MouseEventType
impl Send for MouseEventType
impl Sync for MouseEventType
impl Unpin for MouseEventType
impl UnwindSafe for MouseEventType
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