pub struct LineAndColumnIndex {
pub line_index: usize,
pub column_index: usize,
}
Fields§
§line_index: usize
The zero-indexed line index.
column_index: usize
The character index relative to the start of the line.
Trait Implementations§
Source§impl Clone for LineAndColumnIndex
impl Clone for LineAndColumnIndex
Source§fn clone(&self) -> LineAndColumnIndex
fn clone(&self) -> LineAndColumnIndex
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 LineAndColumnIndex
impl Debug for LineAndColumnIndex
Source§impl PartialEq for LineAndColumnIndex
impl PartialEq for LineAndColumnIndex
impl Copy for LineAndColumnIndex
impl StructuralPartialEq for LineAndColumnIndex
Auto Trait Implementations§
impl Freeze for LineAndColumnIndex
impl RefUnwindSafe for LineAndColumnIndex
impl Send for LineAndColumnIndex
impl Sync for LineAndColumnIndex
impl Unpin for LineAndColumnIndex
impl UnwindSafe for LineAndColumnIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more