pub enum GutterSeverityLevel {
Hint,
Info,
Warning,
Error,
}Expand description
Renderer-agnostic diagnostic severity level for the gutter
severity column. Ordered ascending by severity so max() selects
the most severe: Hint < Info < Warning < Error.
Variants§
Hint
Lowest severity; sign diagnostic.hint.
Info
Informational; sign diagnostic.info.
Warning
Warning; sign diagnostic.warning.
Error
Error — the most severe; sign diagnostic.error.
Trait Implementations§
Source§impl Clone for GutterSeverityLevel
impl Clone for GutterSeverityLevel
Source§fn clone(&self) -> GutterSeverityLevel
fn clone(&self) -> GutterSeverityLevel
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 GutterSeverityLevel
Source§impl Debug for GutterSeverityLevel
impl Debug for GutterSeverityLevel
impl Eq for GutterSeverityLevel
Source§impl Ord for GutterSeverityLevel
impl Ord for GutterSeverityLevel
Source§fn cmp(&self, other: &GutterSeverityLevel) -> Ordering
fn cmp(&self, other: &GutterSeverityLevel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GutterSeverityLevel
impl PartialEq for GutterSeverityLevel
Source§impl PartialOrd for GutterSeverityLevel
impl PartialOrd for GutterSeverityLevel
impl StructuralPartialEq for GutterSeverityLevel
Auto Trait Implementations§
impl Freeze for GutterSeverityLevel
impl RefUnwindSafe for GutterSeverityLevel
impl Send for GutterSeverityLevel
impl Sync for GutterSeverityLevel
impl Unpin for GutterSeverityLevel
impl UnsafeUnpin for GutterSeverityLevel
impl UnwindSafe for GutterSeverityLevel
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.