Trait fst::Stream
[−]
[src]
pub trait Stream<'a> { type Item: 'a; fn next(&'a mut self) -> Option<Self::Item>; }
Stream is a streaming iterator.
It provides a mechanism for writing code that is generic over streams produced by this crate.
Note that this is strictly less useful than Iterator
because the item
associated type is bound to a specific lifetime. However, this does permit
us to write some generic code over iterators that produce values tied
to the lifetime of the iterator.
Associated Types
type Item: 'a
Required Methods
Implementors
impl<'a, 'f> Stream<'a> for StreamUnion<'f>
impl<'a, 'f> Stream<'a> for StreamIntersection<'f>
impl<'a, 'f> Stream<'a> for StreamDifference<'f>
impl<'a, 'f> Stream<'a> for StreamSymmetricDifference<'f>
impl<'f, 'a, A: Automaton> Stream<'a> for FstStream<'f, A>
impl<'a, 's, A: Automaton> Stream<'a> for SetStream<'s, A>
impl<'a, 's> Stream<'a> for SetUnion<'s>
impl<'a, 's> Stream<'a> for SetIntersection<'s>
impl<'a, 's> Stream<'a> for SetDifference<'s>
impl<'a, 's> Stream<'a> for SetSymmetricDifference<'s>