nu_source

Trait IntoSpanned

Source
pub trait IntoSpanned {
    type Output: HasFallibleSpan;

    // Required method
    fn into_spanned(self, span: impl Into<Span>) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn into_spanned(self, span: impl Into<Span>) -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§