Expand description
Stream wrapper which provides more detailed position information.
Structs§
- The
IndexPositioner<Item, Range>
struct maintains the current index into the streamInput
. The initial index is index 0. EachItem
committed increments the index by 1; eachrange
committed increments the position byrange.len()
. - Struct which represents a position in a source file.
- The
Stream<Input>
struct maintains the current position in the streamInput
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
.