Struct ppbert::bertterm::PrettyPrinter
[−]
[src]
pub struct PrettyPrinter<'a> { /* fields omitted */ }
Methods
impl<'a> PrettyPrinter<'a>[src]
fn new(
term: &'a BertTerm,
indent_width: usize,
max_terms_per_line: usize
) -> Self[src]
term: &'a BertTerm,
indent_width: usize,
max_terms_per_line: usize
) -> Self
Creates a pretty printer for term where sub-terms
are indented with a width of indent_width and a
maximum of max_terms_per_line basic terms (i.e.,
integers, floats, strings) can be printed per line.