Struct source_map::Span [−][src]
pub struct Span { pub line_start: usize, pub column_start: usize, pub line_end: usize, pub column_end: usize, pub source_id: SourceId, }
Expand description
A start and end line and column. Also contains trace of original source
Fields
line_start: usize
column_start: usize
line_end: usize
column_end: usize
source_id: SourceId
Implementations
Returns whether the end of self
is the start of other
Returns a new Span
which starts at the start of self
a ends at the end of other
Returns whether self finishes on a line whether other starts Not commutative
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Span
impl UnwindSafe for Span
Blanket Implementations
Mutably borrows from an owned value. Read more