Trait combine::stream::Positioned
source · [−]pub trait Positioned: StreamOnce {
fn position(&self) -> Self::Position;
}
Expand description
A type which has a position.
Required Methods
Implementations on Foreign Types
sourceimpl<'a, I> Positioned for &'a mut I where
I: Positioned + ?Sized,
impl<'a, I> Positioned for &'a mut I where
I: Positioned + ?Sized,
sourceimpl<'a, T> Positioned for &'a [T] where
T: Clone + PartialEq,
impl<'a, T> Positioned for &'a [T] where
T: Clone + PartialEq,
Implementors
impl<'a, T> Positioned for SliceStream<'a, T> where
T: PartialEq + 'a,
impl<Input> Positioned for combine::stream::buffered::Stream<Input> where
Input: StreamOnce + Positioned,
Available on crate feature
alloc
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>,
impl<S> Positioned for combine::stream::easy::Stream<S> where
S: StreamOnce + Positioned,
S::Token: PartialEq,
S::Range: PartialEq,
Available on crate feature
std
only.