pub fn to_writer_with_rules<W>(writer: &mut W, rules: Rules, value: &Sexp) -> Result<(), SexpError>
where
    W: io::Write,
{
    let mut ser = Serializer::new_rules(writer, rules);
    ser.serialize(value)
}
/// serialize a symbolic-expression to a Writer using a Rules Formatter
serialize a symbolic-expression to a Writer using a Rules Formatter
serialize a symbolic - expression to a Writer using a Rules Formatter
pub fn to_writer_with_rules<W>(writer: &mut W, rules: Rules, value: &Sexp) -> Result<(), SexpError>
where
    W: io::Write,
{
    let mut ser = Serializer::new_rules(writer, rules);
    ser.serialize(value)
}
pub fn to_writer_with_rules < W > ( writer : & mut W , rules : Rules , value : & Sexp ) -> Result < ( ) , SexpError > where W : io :: Write , { let mut ser = Serializer :: new_rules ( writer , rules ) ; ser . serialize ( value ) }
serialize a symbolic-expression to a Writer using a Rules Formatter
serialize a symbolic - expression to a Writer using a Rules Formatter
writer
&mut W
rules
Rules
value
&Sexp