pub enum LintConfigValue {
Enabled,
Disabled,
Count(u64),
Digest([u8; 32]),
}Variants§
Trait Implementations§
Source§impl Clone for LintConfigValue
impl Clone for LintConfigValue
Source§fn clone(&self) -> LintConfigValue
fn clone(&self) -> LintConfigValue
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 LintConfigValue
Source§impl Debug for LintConfigValue
impl Debug for LintConfigValue
impl Eq for LintConfigValue
Source§impl Ord for LintConfigValue
impl Ord for LintConfigValue
Source§fn cmp(&self, other: &LintConfigValue) -> Ordering
fn cmp(&self, other: &LintConfigValue) -> 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 LintConfigValue
impl PartialEq for LintConfigValue
Source§impl PartialOrd for LintConfigValue
impl PartialOrd for LintConfigValue
impl StructuralPartialEq for LintConfigValue
Auto Trait Implementations§
impl Freeze for LintConfigValue
impl RefUnwindSafe for LintConfigValue
impl Send for LintConfigValue
impl Sync for LintConfigValue
impl Unpin for LintConfigValue
impl UnsafeUnpin for LintConfigValue
impl UnwindSafe for LintConfigValue
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