Trait combine::Positioned [] [src]

pub trait Positioned {
    type Position: Clone + Ord;
    fn position(&self) -> Self::Position;
}

Associated Types

Type which represents the position in a stream. Ord is required to allow parsers to determine which of two positions are further ahead.

Required Methods

Returns the current position of the stream.

Implementors