[][src]Struct termcolor::NoColor

pub struct NoColor<W>(_);

Satisfies WriteColor but ignores all color options.

Methods

impl<W: Write> NoColor<W>
[src]

Important traits for NoColor<W>

Create a new writer that satisfies WriteColor but drops all color information.

Consume this NoColor value and return the inner writer.

Return a reference to the inner writer.

Return a mutable reference to the inner writer.

Trait Implementations

impl<W: Write> WriteColor for NoColor<W>
[src]

impl<W: Write> Write for NoColor<W>
[src]

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more

Auto Trait Implementations

impl<W> Send for NoColor<W> where
    W: Send

impl<W> Sync for NoColor<W> where
    W: Sync

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]