[−][src]Struct pretty::TermColored
Methods
impl<W> TermColored<W>
[src]
pub fn new(upstream: W) -> TermColored<W>
[src]
Trait Implementations
impl<W> Render for TermColored<W> where
W: Write,
[src]
W: Write,
type Error = Error
fn write_str(&mut self, s: &str) -> Result<usize>
[src]
fn write_str_all(&mut self, s: &str) -> Result<()>
[src]
impl<W> RenderAnnotated<ColorSpec> for TermColored<W> where
W: WriteColor,
[src]
W: WriteColor,
fn push_annotation(&mut self, color: &ColorSpec) -> Result<(), Self::Error>
[src]
fn pop_annotation(&mut self) -> Result<(), Self::Error>
[src]
Auto Trait Implementations
impl<W> RefUnwindSafe for TermColored<W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
impl<W> Send for TermColored<W> where
W: Send,
W: Send,
impl<W> Sync for TermColored<W> where
W: Sync,
W: Sync,
impl<W> Unpin for TermColored<W> where
W: Unpin,
W: Unpin,
impl<W> UnwindSafe for TermColored<W> where
W: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,