pub enum GutterRole {
Number,
Mark(Severity),
NoMark,
Separator,
}Expand description
What a gutter cell MEANS. Roles, never colours — the chrome decides how a role looks, exactly as it does for the splash and the status line.
Variants§
Number
The line number.
Mark(Severity)
A finding’s severity mark.
NoMark
Empty space where a mark would go.
Separator
The rule between the gutter and the text.
Trait Implementations§
Source§impl Clone for GutterRole
impl Clone for GutterRole
Source§fn clone(&self) -> GutterRole
fn clone(&self) -> GutterRole
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 moreimpl Copy for GutterRole
Source§impl Debug for GutterRole
impl Debug for GutterRole
impl Eq for GutterRole
Source§impl PartialEq for GutterRole
impl PartialEq for GutterRole
impl StructuralPartialEq for GutterRole
Auto Trait Implementations§
impl Freeze for GutterRole
impl RefUnwindSafe for GutterRole
impl Send for GutterRole
impl Sync for GutterRole
impl Unpin for GutterRole
impl UnsafeUnpin for GutterRole
impl UnwindSafe for GutterRole
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