Struct genco::Formatter[][src]

pub struct Formatter<'write> { /* fields omitted */ }

Formatter implementation for write types.

Methods

impl<'write> Formatter<'write>
[src]

Create a new write formatter.

Write the given string.

Push a new line.

Push a new line, unless the current line is empty.

Increase indentation level.

Decrease indentation level.

Trait Implementations

impl<'write> Write for Formatter<'write>
[src]

Writes a slice of bytes into this writer, returning whether the write succeeded. Read more

Writes a [char] into this writer, returning whether the write succeeded. Read more

Glue for usage of the [write!] macro with implementors of this trait. Read more

Auto Trait Implementations

impl<'write> !Send for Formatter<'write>

impl<'write> !Sync for Formatter<'write>