Trait symbolic_expressions::Formatter [] [src]

pub trait Formatter {
    fn open<W>(&mut self, writer: &mut W, value: Option<&Sexp>) -> Result<()> where W: Write;
    fn element<W>(&mut self, writer: &mut W, value: &Sexp) -> Result<()> where W: Write;
    fn close<W>(&mut self, writer: &mut W) -> Result<()> where W: Write;
}

trait for formatting the serialization of a symbolic-expression

Required Methods

Called when serializing a '('.

Called when serializing a ' VAL'.

Called when serializing a ')'.

Implementors