#[repr(u8)]pub enum LintLevelString {
Forbid = 0,
Deny = 1,
Warn = 2,
Allow = 3,
}Expand description
Simple lint level string.
Variants§
Forbid = 0
Forbid the lint.
Deny = 1
Deny the lint.
Warn = 2
Warn on the lint.
Allow = 3
Allow the lint.
Trait Implementations§
Source§impl Clone for LintLevelString
impl Clone for LintLevelString
Source§fn clone(&self) -> LintLevelString
fn clone(&self) -> LintLevelString
Returns a duplicate of the value. Read more
1.0.0 · 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 LintLevelString
impl Debug for LintLevelString
Source§impl<'ʄ> Facet<'ʄ> for LintLevelString
impl<'ʄ> Facet<'ʄ> for LintLevelString
impl Copy for LintLevelString
Auto Trait Implementations§
impl Freeze for LintLevelString
impl RefUnwindSafe for LintLevelString
impl Send for LintLevelString
impl Sync for LintLevelString
impl Unpin for LintLevelString
impl UnsafeUnpin for LintLevelString
impl UnwindSafe for LintLevelString
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