Struct std::iter::FuseStable
[-] [+]
[src]
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"] pub struct Fuse<I> { // some fields omitted }
An iterator that yields None
forever after the underlying iterator
yields None
once.
Methods
impl<I> Fuse<I>
fn reset_fuse(&mut self)
Resets the fuse such that the next call to .next() or .next_back() will call the underlying iterator again even if it previously returned None.