pub struct TerminalWriter<W> { /* private fields */ }Expand description
Represents a terminal writer.
Implementations§
Source§impl<W: Write> TerminalWriter<W>
impl<W: Write> TerminalWriter<W>
Sourcepub fn with_color(self, color: AnsiAbility) -> Self
pub fn with_color(self, color: AnsiAbility) -> Self
Creates a new terminal writer with a specific color.
Trait Implementations§
Source§impl<W> Debug for TerminalWriter<W>
impl<W> Debug for TerminalWriter<W>
Source§impl<W> Render for TerminalWriter<W>where
W: Write,
impl<W> Render for TerminalWriter<W>where
W: Write,
Source§impl<W: Write> RenderAnnotated for TerminalWriter<W>
impl<W: Write> RenderAnnotated for TerminalWriter<W>
Auto Trait Implementations§
impl<W> Freeze for TerminalWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for TerminalWriter<W>where
W: RefUnwindSafe,
impl<W> !Send for TerminalWriter<W>
impl<W> !Sync for TerminalWriter<W>
impl<W> Unpin for TerminalWriter<W>where
W: Unpin,
impl<W> UnwindSafe for TerminalWriter<W>where
W: UnwindSafe,
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