pub enum LintSeverity {
Error,
Warning,
}Variants§
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<'de> Deserialize<'de> for LintSeverity
impl<'de> Deserialize<'de> for LintSeverity
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
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 ==.Source§impl Serialize for LintSeverity
impl Serialize 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