[][src]Trait fst::IntoStreamer

pub trait IntoStreamer<'a> {
    type Item: 'a;
    type Into: Streamer<'a, Item = Self::Item>;
    fn into_stream(self) -> Self::Into;
}

IntoStreamer describes types that can be converted to streams.

This is analogous to the IntoIterator trait for Iterator in std::iter.

Associated Types

The type of the item emitted by the stream.

The type of the stream to be constructed.

Loading content...

Required methods

Construct a stream from Self.

Loading content...

Implementors

impl<'a, 'f> IntoStreamer<'a> for &'f Fst
[src]

impl<'a, 'f, A: Automaton> IntoStreamer<'a> for fst::raw::StreamBuilder<'f, A>
[src]

impl<'a, S: Streamer<'a>> IntoStreamer<'a> for S
[src]

impl<'m, 'a> IntoStreamer<'a> for &'m Map
[src]

impl<'m, 'a, A: Automaton> IntoStreamer<'a> for fst::map::StreamBuilder<'m, A>
[src]

impl<'s, 'a> IntoStreamer<'a> for &'s Set
[src]

impl<'s, 'a, A: Automaton> IntoStreamer<'a> for fst::set::StreamBuilder<'s, A>
[src]

Loading content...