pub enum LineNum {
Abs,
Rel,
RelAbs,
}Expand description
How to show the line numbers on screen.
Variants§
Abs
Line numbers relative to the beginning of the file.
Rel
Line numbers relative to the main cursor’s line, including that line.
RelAbs
Relative line numbers on every line, except the main cursor’s.
Trait Implementations§
impl Copy for LineNum
Auto Trait Implementations§
impl Freeze for LineNum
impl RefUnwindSafe for LineNum
impl Send for LineNum
impl Sync for LineNum
impl Unpin for LineNum
impl UnwindSafe for LineNum
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