codeviz_common 0.2.2

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

pub trait VariableFormat {
    type Extra: Default;

    fn format<E>(&self, out: &mut E, depth: usize, extra: &mut Self::Extra) -> Result<()>
    where
        E: ElementFormat;
}