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§
fn into_range(self) -> Range<BytePos>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.