pub struct HeldButton(/* private fields */);Expand description
The mouse button held down, for a library that does not say which button a release or a drag is of: termion names the button only when it is pressed, and termwiz reports which buttons are down rather than what changed. Keep one per terminal, and pass it to each translation.
Implementations§
Trait Implementations§
Source§impl Clone for HeldButton
impl Clone for HeldButton
impl Copy for HeldButton
Source§impl Debug for HeldButton
impl Debug for HeldButton
Source§impl Default for HeldButton
impl Default for HeldButton
impl Eq for HeldButton
Source§impl PartialEq for HeldButton
impl PartialEq for HeldButton
impl StructuralPartialEq for HeldButton
Auto Trait Implementations§
impl Freeze for HeldButton
impl RefUnwindSafe for HeldButton
impl Send for HeldButton
impl Sync for HeldButton
impl Unpin for HeldButton
impl UnsafeUnpin for HeldButton
impl UnwindSafe for HeldButton
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.