pub trait HasSpan<'src> {
// Required method
fn span(&self) -> Span<'src>;
}
Expand description
Any syntactic element can describe its location within the source material using this trait.
pub trait HasSpan<'src> {
// Required method
fn span(&self) -> Span<'src>;
}
Any syntactic element can describe its location within the source material using this trait.