pub trait Span: Clone + Debug {
type LineColumn: LineColumn;
// Required methods
fn line_column(line: usize, column: usize) -> Self::LineColumn;
fn start(&self) -> Self::LineColumn;
fn end(&self) -> Self::LineColumn;
}Required Associated Types§
type LineColumn: LineColumn
Required Methods§
fn line_column(line: usize, column: usize) -> Self::LineColumn
fn start(&self) -> Self::LineColumn
fn end(&self) -> Self::LineColumn
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.