Trait combine::primitives::Positioner [] [src]

pub trait Positioner: PartialEq {
    type Position: Clone + Ord;
    fn start() -> Self::Position;
    fn update(&self, position: &mut Self::Position);
}

Trait for updating the position for types which can be yielded from a Stream.

Associated Types

The type which keeps track of the position.

Required Methods

Creates a start position

Updates the position given that self has been taken from the stream

Implementors