Struct codemap::Loc
[−]
[src]
pub struct Loc { pub file: Arc<File>, pub position: LineCol, }
A file, and a line and column within it.
Fields
file: Arc<File>
position: LineCol
Trait Implementations
impl Clone for Loc
[src]
fn clone(&self) -> Loc
[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 Loc
[src]
impl PartialEq for Loc
[src]
fn eq(&self, __arg_0: &Loc) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Loc) -> bool
[src]
This method tests for !=
.