Trait symbolic_expressions::Formatter [] [src]

pub trait Formatter {
    fn open<W>(
        &mut self,
        writer: &mut W,
        value: Option<&Sexp>
    ) -> Result<(), SexpError>
    where
        W: Write
;
fn element<W>(
        &mut self,
        writer: &mut W,
        value: &Sexp
    ) -> Result<(), SexpError>
    where
        W: Write
;
fn close<W>(&mut self, writer: &mut W) -> Result<(), SexpError>
    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