Struct proc_macro2::LineColumn
source · Expand description
A line-column pair representing the start or end of a Span
.
This type is semver exempt and not exposed by default.
Fields
line: usize
The 1-indexed line in the source file on which the span starts or ends (inclusive).
column: usize
The 0-indexed column (in UTF-8 characters) in the source file on which the span starts or ends (inclusive).
Auto Trait Implementations
impl RefUnwindSafe for LineColumn
impl Send for LineColumn
impl Sync for LineColumn
impl Unpin for LineColumn
impl UnwindSafe for LineColumn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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