pub trait HasSpan {
    // Required method
    fn span(&self) -> Span;
}
Expand description

A trait for AST nodes having a span.

Required Methods§

source

fn span(&self) -> Span

Implementors§