[−][src]Struct combine::stream::easy::Stream
Trait Implementations
impl<S> Positioned for Stream<S> where
S: StreamOnce + Positioned,
[src]
S: StreamOnce + Positioned,
impl<S> StreamOnce for Stream<S> where
S: StreamOnce + Positioned,
[src]
S: StreamOnce + Positioned,
type Item = S::Item
The type of items which is yielded from this stream.
type Range = S::Range
The type of a range of items yielded from this stream. Types which do not a have a way of yielding ranges of items should just use the Self::Item
for this type. Read more
type Position = S::Position
Type which represents the position in a stream. Ord
is required to allow parsers to determine which of two positions are further ahead. Read more
type Error = ParseError<S>
fn uncons(&mut self) -> Result<Self::Item, StreamErrorFor<Self>>
[src]
fn is_partial(&self) -> bool
[src]
impl<S> Resetable for Stream<S> where
S: Resetable,
[src]
S: Resetable,
type Checkpoint = S::Checkpoint
fn checkpoint(&self) -> Self::Checkpoint
[src]
fn reset(&mut self, checkpoint: Self::Checkpoint)
[src]
impl<S> RangeStreamOnce for Stream<S> where
S: RangeStream,
[src]
S: RangeStream,
fn uncons_range(
&mut self,
size: usize
) -> Result<Self::Range, StreamErrorFor<Self>>
[src]
&mut self,
size: usize
) -> Result<Self::Range, StreamErrorFor<Self>>
fn uncons_while<F>(&mut self, f: F) -> Result<Self::Range, StreamErrorFor<Self>> where
F: FnMut(Self::Item) -> bool,
[src]
F: FnMut(Self::Item) -> bool,
fn uncons_while1<F>(
&mut self,
f: F
) -> FastResult<Self::Range, StreamErrorFor<Self>> where
F: FnMut(Self::Item) -> bool,
[src]
&mut self,
f: F
) -> FastResult<Self::Range, StreamErrorFor<Self>> where
F: FnMut(Self::Item) -> bool,
fn distance(&self, end: &Self::Checkpoint) -> usize
[src]
impl<S> FullRangeStream for Stream<S> where
S: FullRangeStream,
[src]
S: FullRangeStream,
impl<S: Clone> Clone for Stream<S>
[src]
fn clone(&self) -> Stream<S>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S: Copy> Copy for Stream<S>
[src]
impl<S: Debug> Debug for Stream<S>
[src]
Auto Trait Implementations
Blanket Implementations
impl<I> Stream for I where
I: StreamOnce + Positioned + Resetable,
<I as StreamOnce>::Error: ParseError<<I as StreamOnce>::Item, <I as StreamOnce>::Range, <I as StreamOnce>::Position>,
[src]
I: StreamOnce + Positioned + Resetable,
<I as StreamOnce>::Error: ParseError<<I as StreamOnce>::Item, <I as StreamOnce>::Range, <I as StreamOnce>::Position>,
impl<I> RangeStream for I where
I: RangeStreamOnce + Stream,
[src]
I: RangeStreamOnce + Stream,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'a mut Wfn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'a mut W
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,