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

Implementations on Foreign Types

impl<'a, T: ?Sized> Positioner for &'a T where
    T: Positioner
[src]

impl<T> Positioner for [T] where
    T: Positioner
[src]

impl Positioner for str
[src]

impl Positioner for char
[src]

impl Positioner for u8
[src]

Implementors