Trait BoxIter

Source
trait BoxIter {
    type Item;

    // Required method
    fn last(self) -> Option<Self::Item>;
}

Required Associated Types§

Required Methods§

Source

fn last(self) -> Option<Self::Item>

Implementors§

Source§

impl<I: Iterator + ?Sized, A: Allocator> BoxIter for Box<I, A>

Source§

type Item = <I as Iterator>::Item

1.0.0 · Source§

impl<I: Iterator, A: Allocator> BoxIter for Box<I, A>

Specialization for sized Is that uses Is implementation of last() instead of the default.