Struct malk_lexer::Span
[−]
[src]
pub struct Span { pub start: TextPos, pub end: TextPos, }
A span of text in a text document.
Fields
start: TextPos
The start position of the span (inclusive).
end: TextPos
The end position of the span (exclusive),
Trait Implementations
impl Debug for Span
[src]
impl Clone for Span
[src]
fn clone(&self) -> Span
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more