[][src]Trait combine::stream::state::RangePositioner

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

Loading content...

Implementors

impl<'a> RangePositioner<char, &'a str> for SourcePosition[src]

impl<Item, Range> RangePositioner<Item, Range> for IndexPositioner where
    Item: PartialEq + Clone,
    Range: PartialEq + Clone + Range
[src]

Loading content...