[][src]Trait proc_macro::MultiSpan

pub trait MultiSpan {
    fn into_spans(self) -> Vec<Span>;
}
🔬 This is a nightly-only experimental API. (proc_macro_diagnostic #54140)

Trait implemented by types that can be converted into a set of Spans.

Required methods

fn into_spans(self) -> Vec<Span>

🔬 This is a nightly-only experimental API. (proc_macro_diagnostic #54140)

Converts self into a Vec<Span>.

Loading content...

Implementations on Foreign Types

impl MultiSpan for Vec<Span>[src]

impl<'a> MultiSpan for &'a [Span][src]

Loading content...

Implementors

impl MultiSpan for Span[src]

Loading content...