Expand description
Stateful stream wrappers.
Structs§
- The
IndexPositioner<Item, Range>
struct maintains the current index into the streamI
. The initial index is index 0. EachItem
consumed increments the index by 1; eachrange
consumed increments the position byrange.len()
. - Struct which represents a position in a source file.
- The
State<I>
struct maintains the current position in the streamI
using thePositioner
trait to track the position.
Traits§
- Defines a default
Positioner
type for a particularStream
type. - Trait for tracking the current position of a
Stream
. - Trait for tracking the current position of a
RangeStream
.