combine::stream

Trait FullRangeStream

Source
pub trait FullRangeStream: RangeStream {
    // Required method
    fn range(&self) -> Self::Range;
}
Expand description

A RangeStream which is capable of providing it’s entire range.

Required Methods§

Source

fn range(&self) -> Self::Range

Returns the entire range of self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a> FullRangeStream for &'a str

Source§

fn range(&self) -> Self::Range

Source§

impl<'a, T> FullRangeStream for &'a [T]
where T: Clone + PartialEq,

Source§

fn range(&self) -> Self::Range

Implementors§

Source§

impl<'a, T> FullRangeStream for SliceStream<'a, T>
where T: PartialEq + 'a,

Source§

impl<I, X, E> FullRangeStream for State<I, X>
where I: FullRangeStream + Resetable, I::Position: Clone + Ord, E: StreamError<I::Item, I::Range>, I::Error: ParseError<I::Item, I::Range, X::Position, StreamError = E> + ParseError<I::Item, I::Range, I::Position, StreamError = E>, X: Resetable + RangePositioner<I::Item, I::Range>,

Source§

impl<S> FullRangeStream for Stream<S>
where S: FullRangeStream,

Source§

impl<S> FullRangeStream for PartialStream<S>
where S: FullRangeStream,