#[repr(u8)]pub enum LintSeverity {
Info = 0,
Warning = 1,
Error = 2,
}Expand description
Lint severity.
Variants§
Info = 0
Informational note.
Warning = 1
Potential issue worth reviewing.
Error = 2
Likely correctness or security issue.
Implementations§
Trait Implementations§
Source§impl Clone for LintSeverity
impl Clone for LintSeverity
Source§fn clone(&self) -> LintSeverity
fn clone(&self) -> LintSeverity
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 LintSeverity
impl Debug for LintSeverity
Source§impl PartialEq for LintSeverity
impl PartialEq for LintSeverity
Source§fn eq(&self, other: &LintSeverity) -> bool
fn eq(&self, other: &LintSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LintSeverity
impl Eq for LintSeverity
impl StructuralPartialEq for LintSeverity
Auto Trait Implementations§
impl Freeze for LintSeverity
impl RefUnwindSafe for LintSeverity
impl Send for LintSeverity
impl Sync for LintSeverity
impl Unpin for LintSeverity
impl UnsafeUnpin for LintSeverity
impl UnwindSafe for LintSeverity
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