#[non_exhaustive]pub enum DiagnosticTag {
Unnecessary,
Deprecated,
}Expand description
Standardized semantic tags
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for DiagnosticTag
impl Clone for DiagnosticTag
impl Copy for DiagnosticTag
Source§impl Debug for DiagnosticTag
impl Debug for DiagnosticTag
impl Eq for DiagnosticTag
Source§impl Hash for DiagnosticTag
impl Hash for DiagnosticTag
Source§impl PartialEq for DiagnosticTag
impl PartialEq for DiagnosticTag
impl StructuralPartialEq for DiagnosticTag
Auto Trait Implementations§
impl Forget for DiagnosticTag
impl Freeze for DiagnosticTag
impl Move 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