pub struct LineAndColumnDisplay {
pub line_number: usize,
pub column_number: usize,
}Fields§
§line_number: usizeThe 1-indexed line number for display purposes.
column_number: usizeThe 1-indexed column number based on the indent width.
Trait Implementations§
Source§impl Clone for LineAndColumnDisplay
impl Clone for LineAndColumnDisplay
Source§fn clone(&self) -> LineAndColumnDisplay
fn clone(&self) -> LineAndColumnDisplay
Returns a duplicate 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 LineAndColumnDisplay
impl Debug for LineAndColumnDisplay
Source§impl PartialEq for LineAndColumnDisplay
impl PartialEq for LineAndColumnDisplay
impl Copy for LineAndColumnDisplay
impl StructuralPartialEq for LineAndColumnDisplay
Auto Trait Implementations§
impl Freeze for LineAndColumnDisplay
impl RefUnwindSafe for LineAndColumnDisplay
impl Send for LineAndColumnDisplay
impl Sync for LineAndColumnDisplay
impl Unpin for LineAndColumnDisplay
impl UnwindSafe for LineAndColumnDisplay
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