nu_source

Trait HasFallibleSpan

Source
pub trait HasFallibleSpan {
    // Required method
    fn maybe_span(&self) -> Option<Span>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl HasFallibleSpan for Option<Span>

Source§

impl HasFallibleSpan for bool

Source§

impl HasFallibleSpan for ()

Source§

impl<T> HasFallibleSpan for Option<Spanned<T>>

Source§

impl<T> HasFallibleSpan for Option<Tagged<T>>

Implementors§

Source§

impl<T> HasFallibleSpan for T
where T: HasSpan,