pub struct TermColored<'a, W> { /* private fields */ }
Implementations§
Source§impl<'a, W> TermColored<'a, W>
impl<'a, W> TermColored<'a, W>
pub fn new(upstream: &'a mut W) -> TermColored<'a, W>
Trait Implementations§
Source§impl<'a, W> Render for TermColored<'a, W>where
W: Write,
impl<'a, W> Render for TermColored<'a, W>where
W: Write,
Source§impl<'a, W> RenderAnnotated<ShellAnnotation> for TermColored<'a, W>where
W: WriteColor,
impl<'a, W> RenderAnnotated<ShellAnnotation> for TermColored<'a, W>where
W: WriteColor,
fn push_annotation(&mut self, ann: &ShellAnnotation) -> Result<(), Self::Error>
fn pop_annotation(&mut self) -> Result<(), Self::Error>
Auto Trait Implementations§
impl<'a, W> Freeze for TermColored<'a, W>
impl<'a, W> RefUnwindSafe for TermColored<'a, W>where
W: RefUnwindSafe,
impl<'a, W> Send for TermColored<'a, W>where
W: Send,
impl<'a, W> Sync for TermColored<'a, W>where
W: Sync,
impl<'a, W> Unpin for TermColored<'a, W>
impl<'a, W> !UnwindSafe for TermColored<'a, W>
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