Module nom_grapheme_clusters::span
source · Expand description
This module provides ways of tracking ranges (spans) in the source code.
Structs
- Iterator over segments of a
Span
which also yield postion for convenience. Created bySegments::indexed
,Span::indexed_segments
orSpanContent::indexed_segments
. Double-ended and sized. - Iterator over located segments of a
Span
. Created bySpan::segments
orSpanContent::segments
, as well viaIntoIterator
trait. Double-ended and sized. - A span (a range) in the source code.
- A type that, when displayed, shows the span contents, rather than location.
- A type for metadata associated with a span (“spanned data”).
Traits
- Types that have a span associated.