pub enum DiagnosticCategory {
ParseError,
UnsupportedGrammarForm,
UnresolvedSymbol,
}Expand description
High-level diagnostic taxonomy for parser/evaluator reporting.
Variants§
Trait Implementations§
Source§impl Clone for DiagnosticCategory
impl Clone for DiagnosticCategory
Source§fn clone(&self) -> DiagnosticCategory
fn clone(&self) -> DiagnosticCategory
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 DiagnosticCategory
Source§impl Debug for DiagnosticCategory
impl Debug for DiagnosticCategory
impl Eq for DiagnosticCategory
Source§impl PartialEq for DiagnosticCategory
impl PartialEq for DiagnosticCategory
Source§fn eq(&self, other: &DiagnosticCategory) -> bool
fn eq(&self, other: &DiagnosticCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiagnosticCategory
Auto Trait Implementations§
impl Freeze for DiagnosticCategory
impl RefUnwindSafe for DiagnosticCategory
impl Send for DiagnosticCategory
impl Sync for DiagnosticCategory
impl Unpin for DiagnosticCategory
impl UnsafeUnpin for DiagnosticCategory
impl UnwindSafe for DiagnosticCategory
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