Trait rune::EmitSource [−][src]
pub trait EmitSource { fn emit_source_line<O>(&self, out: &mut O, span: Span) -> Result<()>
where
O: WriteColor; }
Expand description
Helper trait to emit source code locations.
These are implemented for Source, so that you can print diagnostics about a source conveniently.