Struct proc_macro2::LineColumn [−][src]
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).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
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
Mutably borrows from an owned value. Read more