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

Types that have a span associated.

Required Methods§

source

fn span(&self) -> Span

Returns the span associated with this value.

Implementors§