pub enum DiagnosticTag {
Unnecessary,
Deprecated,
}Expand description
Tags for diagnostics.
Additional metadata about the nature of a diagnostic.
Variants§
Unnecessary
Code that is not needed and can be removed.
Deprecated
Code that uses deprecated features.
Trait Implementations§
Source§impl Clone for DiagnosticTag
impl Clone for DiagnosticTag
Source§fn clone(&self) -> DiagnosticTag
fn clone(&self) -> DiagnosticTag
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 DiagnosticTag
impl Debug for DiagnosticTag
Source§impl PartialEq for DiagnosticTag
impl PartialEq for DiagnosticTag
impl Copy for DiagnosticTag
impl Eq for DiagnosticTag
impl StructuralPartialEq for DiagnosticTag
Auto Trait Implementations§
impl Freeze for DiagnosticTag
impl RefUnwindSafe for DiagnosticTag
impl Send for DiagnosticTag
impl Sync for DiagnosticTag
impl Unpin for DiagnosticTag
impl UnsafeUnpin for DiagnosticTag
impl UnwindSafe for DiagnosticTag
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.