Module source

Source
Expand description

This module contains a bunch of traits necessary for processing byte strings.

Most notable are:

  • Source - implemented by default for &str, &[u8] and wrapper types, used by the Lexer.
  • Slice - slices of Source, returned by Lexer::slice.

Traitsยง

Chunk
A fixed, statically sized chunk of data that can be read from the Source.
Source
Trait for types the Lexer can read from.