pub enum HScroll {
Columns {
right: bool,
},
HalfScreen {
right: bool,
},
CursorToEdge {
end: bool,
},
}Expand description
Manual horizontal-scroll commands (HS.2), the vim z{l,h,L,H,s,e}
family. Carried by AppEffect::HorizontalScroll; the host
handler mutates leftcol and keeps the cursor inside the new
window. wrap-off only (no-op under wrap, like the cursor-follow
clamp). See docs/dev/architecture/horizontal-scroll.md.
Variants§
Columns
zl / zh: scroll count columns right / left.
HalfScreen
zL / zH: scroll half the body width right / left.
CursorToEdge
zs (cursor to left edge) / ze (cursor to right edge).
Trait Implementations§
impl Copy for HScroll
Source§impl<'de> Deserialize<'de> for HScroll
impl<'de> Deserialize<'de> for HScroll
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HScroll
impl StructuralPartialEq for HScroll
Auto Trait Implementations§
impl Freeze for HScroll
impl RefUnwindSafe for HScroll
impl Send for HScroll
impl Sync for HScroll
impl Unpin for HScroll
impl UnsafeUnpin for HScroll
impl UnwindSafe for HScroll
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.