Struct racer::Coordinate [−][src]
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]
impl Clone for Coordinate
fn clone(&self) -> Coordinate
[src]
fn clone(&self) -> Coordinate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Coordinate
[src]
impl Debug for Coordinate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Coordinate
[src]
impl PartialEq for Coordinate
fn eq(&self, other: &Coordinate) -> bool
[src]
fn eq(&self, other: &Coordinate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Coordinate) -> bool
[src]
fn ne(&self, other: &Coordinate) -> bool
This method tests for !=
.
impl Eq for Coordinate
[src]
impl Eq for Coordinate
impl Copy for Coordinate
[src]
impl Copy for Coordinate
impl From<Coordinate> for Location
[src]
impl From<Coordinate> for Location
fn from(val: Coordinate) -> Location
[src]
fn from(val: Coordinate) -> Location
Performs the conversion.
Auto Trait Implementations
impl Send for Coordinate
impl Send for Coordinate
impl Sync for Coordinate
impl Sync for Coordinate