pub trait SpanRange {
    // Required method
    fn into_range(self) -> Range<BytePos>;
}
Expand description

A type which can be converted to the range portion of a Span.

Required Methods§

Implementations on Foreign Types§

source§

impl SpanRange for Range<BytePos>

source§

impl SpanRange for Span

source§

impl SpanRange for SpanData

Implementors§