pub struct Diagnostics {
pub diagnostics: Vec<Diagnostic<FileId>>,
}
Expand description
Aggregate analyzer diagnostics.
Fields§
§diagnostics: Vec<Diagnostic<FileId>>
Implementations§
Source§impl Diagnostics
impl Diagnostics
pub fn emit( &self, sources: &SourceDatabase, writer: &mut dyn WriteColor, ) -> Result<(), Error>
Trait Implementations§
Source§impl Debug for Diagnostics
impl Debug for Diagnostics
Source§impl Default for Diagnostics
impl Default for Diagnostics
Source§fn default() -> Diagnostics
fn default() -> Diagnostics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Diagnostics
impl RefUnwindSafe for Diagnostics
impl Send for Diagnostics
impl Sync for Diagnostics
impl Unpin for Diagnostics
impl UnwindSafe for Diagnostics
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