Struct pretty::TermColored
source · pub struct TermColored<W> { /* private fields */ }
Implementations§
source§impl<W> TermColored<W>
impl<W> TermColored<W>
pub fn new(upstream: W) -> TermColored<W>
Trait Implementations§
source§impl<W> Render for TermColored<W>where
W: Write,
impl<W> Render for TermColored<W>where W: Write,
source§impl<W> RenderAnnotated<'_, ColorSpec> for TermColored<W>where
W: WriteColor,
impl<W> RenderAnnotated<'_, ColorSpec> for TermColored<W>where W: WriteColor,
Auto Trait Implementations§
impl<W> RefUnwindSafe for TermColored<W>where W: RefUnwindSafe,
impl<W> Send for TermColored<W>where W: Send,
impl<W> Sync for TermColored<W>where W: Sync,
impl<W> Unpin for TermColored<W>where W: Unpin,
impl<W> UnwindSafe for TermColored<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