Trait combine::Positioned [−][src]
pub trait Positioned: StreamOnce { fn position(&self) -> Self::Position; }
Expand description
A type which has a position.
Required methods
Implementations on Foreign Types
Implementors
impl<Input> Positioned for combine::stream::buffered::Stream<Input> where
Input: StreamOnce + Positioned,
[src]
impl<Input> Positioned for combine::stream::buffered::Stream<Input> where
Input: StreamOnce + Positioned,
[src]This is supported on crate feature
std
only.impl<Input, X, E> Positioned for combine::stream::position::Stream<Input, X> where
Input: StreamOnce,
X: Positioner<Input::Token>,
E: StreamError<Input::Token, Input::Range>,
Input::Error: ParseError<Input::Token, Input::Range, X::Position, StreamError = E>,
Input::Error: ParseError<Input::Token, Input::Range, Input::Position, StreamError = E>,
[src]
impl<Input, X, E> Positioned for combine::stream::position::Stream<Input, X> where
Input: StreamOnce,
X: Positioner<Input::Token>,
E: StreamError<Input::Token, Input::Range>,
Input::Error: ParseError<Input::Token, Input::Range, X::Position, StreamError = E>,
Input::Error: ParseError<Input::Token, Input::Range, Input::Position, StreamError = E>,
[src]impl<S> Positioned for combine::stream::easy::Stream<S> where
S: StreamOnce + Positioned,
S::Token: PartialEq,
S::Range: PartialEq,
[src]
impl<S> Positioned for combine::stream::easy::Stream<S> where
S: StreamOnce + Positioned,
S::Token: PartialEq,
S::Range: PartialEq,
[src]This is supported on crate feature
std
only.impl<S, E> Positioned for combine::stream::span::Stream<S, E> where
S: StreamOnce + Positioned,
S::Token: PartialEq,
S::Range: PartialEq,
E: ParseError<S::Token, S::Range, Span<S::Position>>,
S::Error: ParseErrorInto<S::Token, S::Range, S::Position>,
<S::Error as ParseError<S::Token, S::Range, S::Position>>::StreamError: StreamErrorInto<S::Token, S::Range>,
[src]
impl<S, E> Positioned for combine::stream::span::Stream<S, E> where
S: StreamOnce + Positioned,
S::Token: PartialEq,
S::Range: PartialEq,
E: ParseError<S::Token, S::Range, Span<S::Position>>,
S::Error: ParseErrorInto<S::Token, S::Range, S::Position>,
<S::Error as ParseError<S::Token, S::Range, S::Position>>::StreamError: StreamErrorInto<S::Token, S::Range>,
[src]