[−][src]Module logos::source
This module contains a bunch of traits necessary for processing byte strings.
Most notable are:
Source
- implemented by default for&str
and&[u8]
, used by theLexer
.Slice
- slices ofSource
, returned byLexer::slice
.
Traits
BinarySource | Marker trait for any |
Chunk | A fixed, statically sized chunk of data that can be read from the |
Slice | Trait for a |
Source | Trait for types the |
Split | A trait implemented for byte arrays that allow splitting them into two, with the resulting sizes known at compile time. |
WithSource | Marker trait for any |