Expand description
Stream wrapper which provides more detailed position information.
Structs§
- Index
Positioner - 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()
. - Source
Position - Struct which represents a position in a source file.
- Stream
- The
Stream<Input>
struct maintains the current position in the streamInput
using thePositioner
trait to track the position.
Traits§
- Default
Positioned - Defines a default
Positioner
type for a particularStream
type. - Positioner
- Trait for tracking the current position of a
Stream
. - Range
Positioner - Trait for tracking the current position of a
RangeStream
.