Trait alloc::boxed::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>

§

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.