pub struct ParseReport<T> {
pub value: T,
pub diagnostics: Vec<Diagnostic>,
}Fields§
§value: T§diagnostics: Vec<Diagnostic>Implementations§
Source§impl<T> ParseReport<T>
impl<T> ParseReport<T>
pub fn new(value: T, diagnostics: Vec<Diagnostic>) -> Self
pub fn has_errors(&self) -> bool
Trait Implementations§
Source§impl<T: Clone> Clone for ParseReport<T>
impl<T: Clone> Clone for ParseReport<T>
Source§impl<T: Debug> Debug for ParseReport<T>
impl<T: Debug> Debug for ParseReport<T>
impl<T: Eq> Eq for ParseReport<T>
Source§impl<T: PartialEq> PartialEq for ParseReport<T>
impl<T: PartialEq> PartialEq for ParseReport<T>
impl<T: PartialEq> StructuralPartialEq for ParseReport<T>
Auto Trait Implementations§
impl<T> Freeze for ParseReport<T>where
T: Freeze,
impl<T> RefUnwindSafe for ParseReport<T>where
T: RefUnwindSafe,
impl<T> Send for ParseReport<T>where
T: Send,
impl<T> Sync for ParseReport<T>where
T: Sync,
impl<T> Unpin for ParseReport<T>where
T: Unpin,
impl<T> UnsafeUnpin for ParseReport<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ParseReport<T>where
T: UnwindSafe,
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