nvim-api 0.2.0

Neovim API bindings
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::iter::FusedIterator;

/// A super trait of most common traits implemented on iterators.
pub trait SuperIterator<I>:
    Iterator<Item = I> + ExactSizeIterator + DoubleEndedIterator + FusedIterator
{
}

impl<I, T> SuperIterator<I> for T where
    T: Iterator<Item = I>
        + ExactSizeIterator
        + DoubleEndedIterator
        + FusedIterator
{
}