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;
}
Expand description
trait for formatting the serialization of a symbolic-expression
Required methods
Called when serializing a ‘(’.
Called when serializing a ’ VAL’.