[][src]Macro dyn_fmt::dyn_write

macro_rules! dyn_write {
    ($dst:expr, $($arg:tt)*) => { ... };
}

Writes formatted data into a buffer. A runtime analog of write! macro. In contrast with the macro format string have not be a string literal.

This macro accepts a 'writer', a format string, and a list of arguments. Arguments will be formatted according to the specified format string and the result will be passed to the writer. The writer may be any value with a write_fmt method; generally this comes from an implementation of either the fmt::Write or the Write trait. The macro returns whatever the write_fmt method returns; commonly a fmt::Result, or an io::Result.