codeviz 0.0.15

Flexible code generator for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use errors::*;

pub trait ElementFormat: ::std::fmt::Write {
    fn new_line(&mut self) -> Result<()>;

    fn new_line_unless_empty(&mut self) -> Result<()>;

    fn indent(&mut self);

    fn unindent(&mut self);
}