Trait nom::lib::std::iter::FusedIterator1.26.0[][src]

pub trait FusedIterator: Iterator { }

An iterator that always continues to yield None when exhausted.

Calling next on a fused iterator that has returned None once is guaranteed to return None again. This trait should be implemented by all iterators that behave this way because it allows for some significant optimizations.

Note: In general, you should not use FusedIterator in generic bounds if you need a fused iterator. Instead, you should just call Iterator::fuse on the iterator. If the iterator is already fused, the additional Fuse wrapper will be a no-op with no performance penalty.

Implementations on Foreign Types

impl<'a> FusedIterator for Iter<'a>
[src]

impl<'a> FusedIterator for Components<'a>
[src]

impl<'a> FusedIterator for Ancestors<'a>
[src]

impl FusedIterator for ToLowercase
[src]

impl<'a, I> FusedIterator for &'a mut I where
    I: FusedIterator + ?Sized
[src]

impl FusedIterator for EscapeDefault
[src]

impl FusedIterator for EscapeDefault
[src]

impl FusedIterator for ToUppercase
[src]

impl<I> FusedIterator for DecodeUtf8<I> where
    I: FusedIterator<Item = u8>, 
[src]

impl FusedIterator for EscapeUnicode
[src]

impl FusedIterator for EscapeDebug
[src]

Implementors