Struct proc_macro::LineColumn [−][src]
Expand description
A line-column pair representing the start or end of a Span.
Fields
line: usizeThe 1-indexed line in the source file on which the span starts or ends (inclusive).
column: usizeThe 1-indexed column (number of bytes in UTF-8 encoding) 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
Blanket Implementations
Mutably borrows from an owned value. Read more