Struct stijl::ConStream [] [src]

pub struct ConStream<T> { /* fields omitted */ }

A styled stream using the Windows Console API.

Methods

impl ConStream<Stdout>
[src]

A ConStream that wraps std::io::stdout().

impl ConStream<Stderr>
[src]

A ConStream that wraps std::io::stderr().

Trait Implementations

impl<T: Write> Write for ConStream<T>
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

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

impl Stream for ConStream<Stdout>
[src]

Return color and emphasis to the default.

Change the foreground color.

Begin emphasized text. Read more

True if the stream is connected to a command-line interface.

impl Stream for ConStream<Stderr>
[src]

Return color and emphasis to the default.

Change the foreground color.

Begin emphasized text. Read more

True if the stream is connected to a command-line interface.

impl<'a> Stream for ConStream<StdoutLock<'a>>
[src]

Return color and emphasis to the default.

Change the foreground color.

Begin emphasized text. Read more

True if the stream is connected to a command-line interface.

impl<'a> Stream for ConStream<StderrLock<'a>>
[src]

Return color and emphasis to the default.

Change the foreground color.

Begin emphasized text. Read more

True if the stream is connected to a command-line interface.

impl CLIStream for ConStream<Stdout>
[src]

"Rewind" the stream so that the last count lines can be overwritten. Read more

The size of the command-line window. Read more

impl CLIStream for ConStream<Stderr>
[src]

"Rewind" the stream so that the last count lines can be overwritten. Read more

The size of the command-line window. Read more

impl<'a> CLIStream for ConStream<StdoutLock<'a>>
[src]

"Rewind" the stream so that the last count lines can be overwritten. Read more

The size of the command-line window. Read more

impl<'a> CLIStream for ConStream<StderrLock<'a>>
[src]

"Rewind" the stream so that the last count lines can be overwritten. Read more

The size of the command-line window. Read more

impl LockableStream for ConStream<Stdout>
[src]

Lock the stream, returning a writable guard.

impl LockableStream for ConStream<Stderr>
[src]

Lock the stream, returning a writable guard.