Struct text_lines::LineAndColumnDisplay
source · [−]Fields
line_number: usize
The 1-indexed line number for display purposes.
column_number: usize
The 1-indexed column number based on the indent width.
Trait Implementations
sourceimpl Clone for LineAndColumnDisplay
impl Clone for LineAndColumnDisplay
sourcefn clone(&self) -> LineAndColumnDisplay
fn clone(&self) -> LineAndColumnDisplay
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 LineAndColumnDisplay
impl Debug for LineAndColumnDisplay
sourceimpl PartialEq<LineAndColumnDisplay> for LineAndColumnDisplay
impl PartialEq<LineAndColumnDisplay> for LineAndColumnDisplay
sourcefn eq(&self, other: &LineAndColumnDisplay) -> bool
fn eq(&self, other: &LineAndColumnDisplay) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LineAndColumnDisplay) -> bool
fn ne(&self, other: &LineAndColumnDisplay) -> bool
This method tests for !=
.
impl Copy for LineAndColumnDisplay
impl StructuralPartialEq for LineAndColumnDisplay
Auto Trait Implementations
impl RefUnwindSafe for LineAndColumnDisplay
impl Send for LineAndColumnDisplay
impl Sync for LineAndColumnDisplay
impl Unpin for LineAndColumnDisplay
impl UnwindSafe for LineAndColumnDisplay
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