Module span

Source
Expand description

Span annotation, independent yet compatible with proc_macro2::Span

Re-uses LineColumn, where .line is 1-indexed, and .columns are 0-indexed, .end is inclusive.

Structsยง

LineColumn
A line-column pair representing the start or end of a Span.
Span
Relative span in relation to the beginning of a doc comment.