Struct genco::IoFmt
[−]
[src]
pub struct IoFmt<'write, W: 'write>(pub &'write mut W);
Facade for writing formatted strings to io::Write types.
Trait Implementations
impl<'write, W> Write for IoFmt<'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<(), Error>
1.1.0[src]
Writes a [char
] into this writer, returning whether the write succeeded. Read more
fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>
1.0.0[src]
Glue for usage of the [write!
] macro with implementors of this trait. Read more