WriteStr

Trait WriteStr 

Source
pub trait WriteStr<T> {
    // Required method
    fn write_str(&mut self, target: T) -> Result<()>;
}
Expand description

A generic write method for a specific type.

Required Methods§

Source

fn write_str(&mut self, target: T) -> Result<()>

Implementations on Foreign Types§

Source§

impl<T: Display> WriteStr<T> for Stdout

If they write to the Terminal, then write to Stdout.

Source§

fn write_str(&mut self, target: T) -> Result<()>

Implementors§