[−][src]Trait combine::stream::state::Positioner
Trait for tracking the current position of a Stream
.
Associated Types
Loading content...Required methods
fn position(&self) -> Self::Position
Returns the current position
fn update(&mut self, item: &Item)
Updates the position given that item
has been taken from the stream
Implementors
impl Positioner<char> for SourcePosition
[src]
type Position = SourcePosition
fn position(&self) -> SourcePosition
[src]
fn update(&mut self, item: &char)
[src]
impl<Item> Positioner<Item> for IndexPositioner where
Item: PartialEq + Clone,
[src]
Item: PartialEq + Clone,