Struct slr_parser::Printer
[−]
[src]
pub struct Printer<'l, W: 'l> { /* fields omitted */ }
A utility type for printing a configuration element.
Methods
impl<'l, W: Write> Printer<'l, W>
[src]
fn new(writer: &'l mut W) -> Printer<'l, W>
fn value(&mut self, name: Option<&str>, value: &str) -> Result<(), Error>
fn start_array(&mut self,
name: Option<&str>,
one_line: bool)
-> Result<(), Error>
name: Option<&str>,
one_line: bool)
-> Result<(), Error>
fn end_array(&mut self) -> Result<(), Error>
fn start_table(&mut self,
name: Option<&str>,
is_root: bool,
one_line: bool)
-> Result<(), Error>
name: Option<&str>,
is_root: bool,
one_line: bool)
-> Result<(), Error>