[][src]Struct cvar::IoConsole

pub struct IoConsole<W>(pub W);

Io console for actions.

Helper which adapts a console to write to any std::io::Write objects such as stdout.

Methods

impl IoConsole<Stdout>[src]

impl IoConsole<Stderr>[src]

Trait Implementations

impl<W: Write> IConsole for IoConsole<W>[src]

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

fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0
[src]

Writes a [char] into this writer, returning whether the write succeeded. Read more

Auto Trait Implementations

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

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

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 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, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 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]

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