Enum racer::Location [−][src]
pub enum Location { Point(BytePos), Coords(Coordinate), }
Expand description
The cursor position used by public search methods
Variants
Point(BytePos)
A byte offset in the file
Coords(Coordinate)
1-based line and column indices.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Location
impl UnwindSafe for Location
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V