[−][src]Trait tantivy_fst::IntoStreamer
IntoStreamer describes types that can be converted to streams.
This is analogous to the IntoIterator
trait for Iterator
in
std::iter
.
Associated Types
type Item: 'a
The type of the item emitted by the stream.
type Into: Streamer<'a, Item = Self::Item>
The type of the stream to be constructed.
Required methods
fn into_stream(self) -> Self::Into
Construct a stream from Self
.
Implementors
impl<'a, 'f, A: 'a + Automaton> IntoStreamer<'a> for tantivy_fst::raw::StreamWithStateBuilder<'f, A> where
A::State: Clone,
[src]
A::State: Clone,
type Item = (&'a [u8], Output, A::State)
type Into = StreamWithState<'f, A>
fn into_stream(self) -> StreamWithState<'f, A>
[src]
impl<'a, 'f, A: Automaton> IntoStreamer<'a> for tantivy_fst::raw::StreamBuilder<'f, A>
[src]
impl<'a, 'f, Data> IntoStreamer<'a> for &'f Fst<Data> where
Data: Deref<Target = [u8]>,
[src]
Data: Deref<Target = [u8]>,
impl<'a, S: Streamer<'a>> IntoStreamer<'a> for S
[src]
impl<'m, 'a, A: 'a + Automaton> IntoStreamer<'a> for tantivy_fst::map::StreamWithStateBuilder<'m, A> where
A::State: Clone,
[src]
A::State: Clone,