pub struct SourceDiagnostics {
pub diagnostics: Vec<SourceDiagnostic>,
}Expand description
Collection of structured source diagnostics.
Fields§
§diagnostics: Vec<SourceDiagnostic>Diagnostics included in this collection.
Implementations§
Source§impl SourceDiagnostics
impl SourceDiagnostics
Sourcepub fn with_diagnostic(self, diagnostic: SourceDiagnostic) -> Self
pub fn with_diagnostic(self, diagnostic: SourceDiagnostic) -> Self
Returns a copy of this collection with one appended diagnostic.
Trait Implementations§
Source§impl Clone for SourceDiagnostics
impl Clone for SourceDiagnostics
Source§fn clone(&self) -> SourceDiagnostics
fn clone(&self) -> SourceDiagnostics
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 SourceDiagnostics
impl Debug for SourceDiagnostics
Source§impl Default for SourceDiagnostics
impl Default for SourceDiagnostics
Source§fn default() -> SourceDiagnostics
fn default() -> SourceDiagnostics
Returns the “default value” for a type. Read more
Source§impl PartialEq for SourceDiagnostics
impl PartialEq for SourceDiagnostics
impl Eq for SourceDiagnostics
impl StructuralPartialEq for SourceDiagnostics
Auto Trait Implementations§
impl Freeze for SourceDiagnostics
impl RefUnwindSafe for SourceDiagnostics
impl Send for SourceDiagnostics
impl Sync for SourceDiagnostics
impl Unpin for SourceDiagnostics
impl UnsafeUnpin for SourceDiagnostics
impl UnwindSafe for SourceDiagnostics
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