nu_source

Trait HasSpan

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

Required Methods§

Source

fn span(&self) -> Span

Implementations on Foreign Types§

Source§

impl<T, E> HasSpan for Result<T, E>
where T: HasSpan,

Source§

fn span(&self) -> Span

Implementors§

Source§

impl HasSpan for Span

Source§

impl<T> HasSpan for Spanned<T>

Source§

impl<T> HasSpan for Tagged<T>