arena_traits

Trait IndexIter

Source
pub trait IndexIter<Idx>: IndexMut<Idx> {
    // Required method
    fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = Idx> + 'a>;
}

Required Methods§

Source

fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = Idx> + 'a>

Implementations on Foreign Types§

Source§

impl<T> IndexIter<usize> for [T]

Source§

fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = usize> + 'a>

Source§

impl<T, const N: usize> IndexIter<usize> for [T; N]

Source§

fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = usize> + 'a>

Implementors§