Struct codemap::SpanLoc
[−]
[src]
pub struct SpanLoc { pub file: Arc<File>, pub begin: LineCol, pub end: LineCol, }
A file, and a line and column range within it.
Fields
file: Arc<File>
begin: LineCol
end: LineCol
Trait Implementations
impl Clone for SpanLoc
[src]
fn clone(&self) -> SpanLoc
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for SpanLoc
[src]
impl PartialEq for SpanLoc
[src]
fn eq(&self, __arg_0: &SpanLoc) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SpanLoc) -> bool
[src]
This method tests for !=
.