Trait StreamingIterator

Source
pub trait StreamingIterator {
    type H1Item: for<'a> PlugLifetime<'a>;

    // Required method
    fn next(&mut self) -> Option<<Self::H1Item as PlugLifetime<'_>>::T>;
}
Expand description

Trait for iterators that can return elements borrowed from itself.

Required Associated Types§

Source

type H1Item: for<'a> PlugLifetime<'a>

HTK item with a lifetime slot.

Required Methods§

Source

fn next(&mut self) -> Option<<Self::H1Item as PlugLifetime<'_>>::T>

Implementors§

Source§

impl<I> StreamingIterator for I
where I: Iterator,

Source§

type H1Item = H0<<I as Iterator>::Item>