Trait miette::SpanContents [−][src]
pub trait SpanContents {
fn data(&self) -> &[u8];
fn line(&self) -> usize;
fn column(&self) -> usize;
}
Expand description
Contents of a Source covered by SourceSpan.
Includes line and column information to optimize highlight calculations.