allocator_api2::stable::boxed

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