pub struct ParseDiagnostics {
pub warnings: Vec<ParseWarning>,
pub errors: Vec<String>,
}Expand description
A collection of parse diagnostics (errors and warnings).
Fields§
§warnings: Vec<ParseWarning>All warnings collected during parsing.
errors: Vec<String>All error messages collected during parsing.
Implementations§
Trait Implementations§
Source§impl Clone for ParseDiagnostics
impl Clone for ParseDiagnostics
Source§fn clone(&self) -> ParseDiagnostics
fn clone(&self) -> ParseDiagnostics
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 ParseDiagnostics
impl Debug for ParseDiagnostics
Source§impl Default for ParseDiagnostics
impl Default for ParseDiagnostics
Source§fn default() -> ParseDiagnostics
fn default() -> ParseDiagnostics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParseDiagnostics
impl RefUnwindSafe for ParseDiagnostics
impl Send for ParseDiagnostics
impl Sync for ParseDiagnostics
impl Unpin for ParseDiagnostics
impl UnsafeUnpin for ParseDiagnostics
impl UnwindSafe for ParseDiagnostics
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