pub enum ScrollAction {
Scrollback(i16),
Forward(Vec<u8>),
}Expand description
Resolved effect of a single mouse-wheel notch.
Variants§
Scrollback(i16)
Scroll the local vt100 scrollback by this signed line delta (positive = towards older output).
Forward(Vec<u8>)
Forward these bytes to the PTY (alternate screen is active).
Trait Implementations§
Source§impl Clone for ScrollAction
impl Clone for ScrollAction
Source§fn clone(&self) -> ScrollAction
fn clone(&self) -> ScrollAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScrollAction
impl Debug for ScrollAction
impl Eq for ScrollAction
Source§impl PartialEq for ScrollAction
impl PartialEq for ScrollAction
impl StructuralPartialEq for ScrollAction
Auto Trait Implementations§
impl Freeze for ScrollAction
impl RefUnwindSafe for ScrollAction
impl Send for ScrollAction
impl Sync for ScrollAction
impl Unpin for ScrollAction
impl UnsafeUnpin for ScrollAction
impl UnwindSafe for ScrollAction
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.