Struct genco::WriteFormatter
[−]
[src]
pub struct WriteFormatter<'write, W> where
W: Write + 'write, { /* fields omitted */ }Formatter implementation for write types.
Methods
impl<'write, W> WriteFormatter<'write, W> where
W: Write, [src]
W: Write,
fn new(write: &mut W) -> WriteFormatter<W>[src]
Create a new write formatter.
Trait Implementations
impl<'write, W> Write for WriteFormatter<'write, W> where
W: Write, [src]
W: Write,
fn write_str(&mut self, s: &str) -> Result[src]
Writes a slice of bytes into this writer, returning whether the write succeeded. Read more
fn write_char(&mut self, c: char) -> Result[src]
Writes a [char] into this writer, returning whether the write succeeded. Read more
fn write_fmt(&mut self, args: Arguments) -> Result[src]
Glue for usage of the [write!] macro with implementors of this trait. Read more