Struct runtime_fmt::FormatBuf [] [src]

pub struct FormatBuf<'s> { /* fields omitted */ }

A buffer representing a parsed format string and arguments.

Methods

impl<'s> FormatBuf<'s>
[src]

Construct a new buffer from the given format string and arguments.

This method should usually not be called directly. Instead use the rt_format_args! macro.

Append a linefeed (\n) to the end of this buffer.

Call a function accepting Arguments with the contents of this buffer.

Format this buffer to a String.

Print this buffer to standard output.

Write this buffer to an io::Write.

Write this buffer to a fmt::Write.

Trait Implementations

impl<'s> Clone for FormatBuf<'s>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Display for FormatBuf<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Debug for FormatBuf<'a>
[src]

Formats the value using the given formatter.