Struct racer::Coordinate
[−]
[src]
pub struct Coordinate { pub line: usize, pub column: usize, }
Line and Column position in a file
Fields
line: usize
Line number, 1 based
column: usize
Column number - 1 based
Trait Implementations
impl Clone for Coordinate
[src]
fn clone(&self) -> Coordinate
[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 Debug for Coordinate
[src]
impl PartialEq for Coordinate
[src]
fn eq(&self, __arg_0: &Coordinate) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Coordinate) -> bool
[src]
This method tests for !=
.