pub fn write(output: &mut Writer, args: &Arguments)
The write
function takes an output stream, a precompiled format string,
and a list of arguments. The arguments will be formatted according to the
specified format string into the output stream provided.
format_args!
use std::fmt;
let w: &mut io::Writer = ...;
format_args!(|args| { fmt::write(w, args) }, "Hello, {}!", "world");
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).