pub struct TextDiagnosticRenderer { /* private fields */ }Implementations§
Source§impl TextDiagnosticRenderer
impl TextDiagnosticRenderer
pub fn new(mode: RenderMode) -> Self
Trait Implementations§
Source§impl Clone for TextDiagnosticRenderer
impl Clone for TextDiagnosticRenderer
Source§fn clone(&self) -> TextDiagnosticRenderer
fn clone(&self) -> TextDiagnosticRenderer
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 TextDiagnosticRenderer
impl Debug for TextDiagnosticRenderer
Source§impl PartialEq for TextDiagnosticRenderer
impl PartialEq for TextDiagnosticRenderer
impl Copy for TextDiagnosticRenderer
impl Eq for TextDiagnosticRenderer
impl StructuralPartialEq for TextDiagnosticRenderer
Auto Trait Implementations§
impl Freeze for TextDiagnosticRenderer
impl RefUnwindSafe for TextDiagnosticRenderer
impl Send for TextDiagnosticRenderer
impl Sync for TextDiagnosticRenderer
impl Unpin for TextDiagnosticRenderer
impl UnsafeUnpin for TextDiagnosticRenderer
impl UnwindSafe for TextDiagnosticRenderer
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