Struct codeviz_common::ElementFormatter
[−]
[src]
pub struct ElementFormatter<'a, W> where
W: Write + 'a, { /* fields omitted */ }
Methods
impl<'a, W> ElementFormatter<'a, W> where
W: Write,
[src]
W: Write,
fn new(write: &mut W) -> ElementFormatter<W>
Trait Implementations
impl<'a, W> Write for ElementFormatter<'a, W> where
W: Write,
[src]
W: Write,
fn write_str(&mut self, s: &str) -> Result
Writes a slice of bytes into this writer, returning whether the write succeeded. Read more
fn write_char(&mut self, c: char) -> Result
Writes a [char
] into this writer, returning whether the write succeeded. Read more
fn write_fmt(&mut self, args: Arguments) -> Result
Glue for usage of the [write!
] macro with implementors of this trait. Read more
impl<'a, W> ElementFormat for ElementFormatter<'a, W> where
W: Write,
[src]
W: Write,