pub trait SpanRange: Sized {
// Required method
fn into_range(self) -> Range<BytePos> ⓘ;
}Expand description
Conversion of a value into the range portion of a Span.
Required Methods§
Sourcefn into_range(self) -> Range<BytePos> ⓘ
fn into_range(self) -> Range<BytePos> ⓘ
Converts self into the range portion of a [Span].
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".