Struct source_map::LineColumnPosition
source · Expand description
TODO should these include SourceId? Zero based
Fields§
§line: u32
§column: u32
Implementations§
source§impl LineColumnPosition
impl LineColumnPosition
pub fn into_scalar_position(self, on_slice: &str) -> Position
Trait Implementations§
source§impl Clone for LineColumnPosition
impl Clone for LineColumnPosition
source§fn clone(&self) -> LineColumnPosition
fn clone(&self) -> LineColumnPosition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LineColumnPosition
impl Debug for LineColumnPosition
source§impl PartialEq<LineColumnPosition> for LineColumnPosition
impl PartialEq<LineColumnPosition> for LineColumnPosition
source§fn eq(&self, other: &LineColumnPosition) -> bool
fn eq(&self, other: &LineColumnPosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.