pub enum MouseProtocolMode {
None,
Press,
PressRelease,
ButtonMotion,
AnyMotion,
}
Expand description
The xterm mouse handling mode currently in use.
Variants§
None
Mouse handling is disabled.
Press
Mouse button events should be reported on button press. Also known as X10 mouse mode.
PressRelease
Mouse button events should be reported on button press and release. Also known as VT200 mouse mode.
ButtonMotion
Mouse button events should be reported on button press and release, as well as when the mouse moves between cells while a button is held down.
AnyMotion
Mouse button events should be reported on button press and release, and mouse motion events should be reported when the mouse moves between cells regardless of whether a button is held down or not.
Trait Implementations§
Source§impl Clone for MouseProtocolMode
impl Clone for MouseProtocolMode
Source§fn clone(&self) -> MouseProtocolMode
fn clone(&self) -> MouseProtocolMode
Returns a copy 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 MouseProtocolMode
impl Debug for MouseProtocolMode
Source§impl Default for MouseProtocolMode
impl Default for MouseProtocolMode
Source§impl PartialEq for MouseProtocolMode
impl PartialEq for MouseProtocolMode
impl Copy for MouseProtocolMode
impl Eq for MouseProtocolMode
impl StructuralPartialEq for MouseProtocolMode
Auto Trait Implementations§
impl Freeze for MouseProtocolMode
impl RefUnwindSafe for MouseProtocolMode
impl Send for MouseProtocolMode
impl Sync for MouseProtocolMode
impl Unpin for MouseProtocolMode
impl UnwindSafe for MouseProtocolMode
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