Enum racer::Location [] [src]

pub enum Location {
    Point(usize),
    Coords(Coordinate),
}

The cursor position used by public search methods

Variants

A byte offset in the file

1-based line and column indices.

Trait Implementations

impl Debug for Location
[src]

Formats the value using the given formatter.

impl Clone for Location
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Location
[src]

impl From<usize> for Location
[src]

Performs the conversion.

impl From<Coordinate> for Location
[src]

Performs the conversion.