Struct racer::Coordinate[][src]

pub struct Coordinate {
    pub line: usize,
    pub column: usize,
}

Line and Column position in a file

Fields

Line number, 1 based

Column number - 1 based

Trait Implementations

impl Clone for Coordinate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Coordinate
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Coordinate
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Coordinate
[src]

impl Copy for Coordinate
[src]

impl From<Coordinate> for Location
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Coordinate

impl Sync for Coordinate