Struct source_map::LineColumnPosition
source · [−]pub struct LineColumnPosition { /* private fields */ }
Expand description
TODO should these include SourceId? Zero based
Implementations
sourceimpl LineColumnPosition
impl LineColumnPosition
pub fn into_scalar_position(self, on_slice: &str) -> Position
Trait Implementations
sourceimpl Clone for LineColumnPosition
impl Clone for LineColumnPosition
sourcefn clone(&self) -> LineColumnPosition
fn clone(&self) -> LineColumnPosition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LineColumnPosition
impl Debug for LineColumnPosition
sourceimpl PartialEq<LineColumnPosition> for LineColumnPosition
impl PartialEq<LineColumnPosition> for LineColumnPosition
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &LineColumnPosition) -> bool
fn ne(&self, other: &LineColumnPosition) -> bool
This method tests for !=
.
impl Eq for LineColumnPosition
impl StructuralEq for LineColumnPosition
impl StructuralPartialEq for LineColumnPosition
Auto Trait Implementations
impl RefUnwindSafe for LineColumnPosition
impl Send for LineColumnPosition
impl Sync for LineColumnPosition
impl Unpin for LineColumnPosition
impl UnwindSafe for LineColumnPosition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more