Struct rustfmt_nightly::FormatReportFormatter
source · pub struct FormatReportFormatter<'a> {
report: &'a FormatReport,
enable_colors: bool,
}
Expand description
Formats the warnings/errors in a FormatReport
.
Can be created using a FormatReportFormatterBuilder
.
Fields
report: &'a FormatReport
enable_colors: bool
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for FormatReportFormatter<'a>
impl<'a> !Send for FormatReportFormatter<'a>
impl<'a> !Sync for FormatReportFormatter<'a>
impl<'a> Unpin for FormatReportFormatter<'a>
impl<'a> !UnwindSafe for FormatReportFormatter<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes