pub struct ClangFormatDiagnosticReporter { /* private fields */ }Expand description
A reporter that reports diagnostics in clang format. Specifically the messages have the following
form <filename>:<range>: <severity>: <message>.
Trait Implementations§
Source§impl DiagnosticReporter for ClangFormatDiagnosticReporter
impl DiagnosticReporter for ClangFormatDiagnosticReporter
Source§fn report(&mut self, diagnostics: &[ResolvedDiagnostics])
fn report(&mut self, diagnostics: &[ResolvedDiagnostics])
reports the given diagnostic
Source§fn register(&mut self, path: String, src: String) -> usize
fn register(&mut self, path: String, src: String) -> usize
register the given path & src and returns an ID to indicate
a relationship the given src (diagnostics for this src need
to use this id)
fn buffer(&self) -> Option<String>
Auto Trait Implementations§
impl Freeze for ClangFormatDiagnosticReporter
impl RefUnwindSafe for ClangFormatDiagnosticReporter
impl Send for ClangFormatDiagnosticReporter
impl Sync for ClangFormatDiagnosticReporter
impl Unpin for ClangFormatDiagnosticReporter
impl UnsafeUnpin for ClangFormatDiagnosticReporter
impl UnwindSafe for ClangFormatDiagnosticReporter
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