Crate slicey

Source
Expand description

§Slicey

Slicey provides two simple ways to associate data with parts of a string:

  • Spanned: Represents data and a range.
  • Sliced: Represents data, a range, and a source string.

See their documentation for more info.

Structs§

  • A value of type T associated with a slice of the source text.
  • A value of type T associated with a span in the source text.

Type Aliases§

  • Represents a range in a source text. Span is a shorthand for a range of indices in the source, defined as Range<usize>.

Derive Macros§