Trait combine::stream::state::RangePositioner [−][src]
pub trait RangePositioner<Item, Range>: Positioner<Item> { fn update_range(&mut self, range: &Range); }
Trait for tracking the current position of a RangeStream
.
Required Methods
fn update_range(&mut self, range: &Range)
Updates the position given that range
has been taken from the stream
Implementors
impl<Item, Range> RangePositioner<Item, Range> for IndexPositioner where
Item: PartialEq + Clone,
Range: PartialEq + Clone + Range,impl<'a> RangePositioner<char, &'a str> for SourcePosition