Trait rune::OptionSpanned [−][src]
pub trait OptionSpanned { fn option_span(&self) -> Option<Span>; }
Expand description
Types for which we can optionally get a span.
Required methods
fn option_span(&self) -> Option<Span>
fn option_span(&self) -> Option<Span>
Get the optional span of the type.
Implementations on Foreign Types
Take the span of a vector of spanned. Provides the span between the first and the last element.
Take the span of a vector of spanned. Provides the span between the first and the last element.