[−][src]Trait libslide::emit::Emit
Implements the emission of a type in an EmitFormat.
Required methods
fn emit_pretty(&self, config: EmitConfig) -> String
Emit self
with the pretty emit format
fn emit_s_expression(&self, config: EmitConfig) -> String
Emit self
with the s_expression emit format
fn emit_latex(&self, config: EmitConfig) -> String
Emit self
with the LaTeX emit format
Provided methods
fn emit(&self, form: EmitFormat, config: EmitConfig) -> String
Emit self
with the given EmitFormat.
NB: This is a multiplexer of the corresponding emit_
methods present on
Emit, except for EmitFormat::Latex, which is emitted via
emit_wrapped_latex.
fn emit_debug(&self, _config: EmitConfig) -> String
Emit self
with the debug emit format
fn emit_wrapped_latex(&self, config: EmitConfig) -> String
Same as emit_latex, but wraps the latex code in inline math mode.