pub enum Click {
Text {
btn: MouseButton,
selection: Range,
cut_handled: bool,
paste_handled: bool,
},
ResizeColumn {
last_x: usize,
},
ResizeWindow {
last_y: usize,
},
}Expand description
Transient state that we hold to track the last mouse click we saw while we wait for it to be released or if the buffer changes.
Variants§
Text
Fields
§
btn: MouseButtonThe button being held down
ResizeColumn
ResizeWindow
Trait Implementations§
impl Copy for Click
impl Eq for Click
impl StructuralPartialEq for Click
Auto Trait Implementations§
impl Freeze for Click
impl RefUnwindSafe for Click
impl Send for Click
impl Sync for Click
impl Unpin for Click
impl UnwindSafe for Click
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.