Trait MultiSpan

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

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

Required Methods§

Source

fn into_spans(self) -> Vec<Span>

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

Converts self into a Vec<Span>.

Implementations on Foreign Types§

Source§

impl MultiSpan for Vec<Span>

Source§

fn into_spans(self) -> Vec<Span>

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

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

Source§

fn into_spans(self) -> Vec<Span>

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

Implementors§

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy