Module combine::stream::position[][src]

Expand description

Stream wrapper which provides more detailed position information.

Structs

The IndexPositioner<Item, Range> struct maintains the current index into the stream Input. The initial index is index 0. Each Item committed increments the index by 1; each range committed increments the position by range.len().

Struct which represents a position in a source file.

The Stream<Input> struct maintains the current position in the stream Input using the Positioner trait to track the position.

Traits

Defines a default Positioner type for a particular Stream type.

Trait for tracking the current position of a Stream.

Trait for tracking the current position of a RangeStream.