Trait fst::IntoStream
[−]
[src]
pub trait IntoStream<'a> { type Item: 'a; type Into: Stream<'a, Item=Self::Item>; fn into_stream(self) -> Self::Into; }
IntoStream 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: Stream<'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<'s, 'a> IntoStream<'a> for &'s Map
impl<'s, 'a, A: Automaton> IntoStream<'a> for MapStreamBuilder<'s, A>
impl<'a, 'f> IntoStream<'a> for &'f Fst
impl<'a, 'f, A: Automaton> IntoStream<'a> for FstStreamBuilder<'f, A>
impl<'s, 'a> IntoStream<'a> for &'s Set
impl<'s, 'a, A: Automaton> IntoStream<'a> for SetStreamBuilder<'s, A>
impl<'a, S: Stream<'a>> IntoStream<'a> for S