Module span

Source
Expand description

Contains the Span struct, which represents a span of characters in the source code.

Structs§

Span
Represents a span of characters in the source code.

Traits§

GetSpan
Trait for getting the span of a node. For enums, this is useful for getting the span of the current variant, without having to match on each variant.