Skip to main content

MultiSpan

Trait MultiSpan 

Source
pub trait MultiSpan {
    // Required method
    fn into_spans(self) -> Vec<Span>;
}
Expand description

A type that can be converted into a list of Spans.

Implemented for Span, Vec<Span>, and &[Span].

Required Methods§

Implementations on Foreign Types§

Source§

impl MultiSpan for &[Span]

Source§

impl MultiSpan for Vec<Span>

Implementors§