Trait vec_vec::VecVecExt

source ·
pub trait VecVecExt {
    type Item;

    // Required methods
    fn popping_iter(&mut self) -> PoppingIter<'_, Self::Item> ;
    fn lending_iter_mut(&mut self) -> LendingIterMut<'_, Self::Item>;
    fn lending_iter(&self) -> LendingIter<'_, Self::Item>;
    fn trivial_last_entry(&mut self) -> Option<TrivialLastEntry<'_, Self::Item>>;
}
Expand description

An extension trait for Vec<Vec<T>>.

Required Associated Types§

source

type Item

The type T of the items contained in the Vec<Vec<T>>.

Required Methods§

source

fn popping_iter(&mut self) -> PoppingIter<'_, Self::Item>

Returns a PoppingIter over the Vec<Vec<T>>.

source

fn lending_iter_mut(&mut self) -> LendingIterMut<'_, Self::Item>

Returns a lending iterator over the mutable references to the elements of Vec<Vec<T>>.

source

fn lending_iter(&self) -> LendingIter<'_, Self::Item>

Returns a [lending iterator] over the shared references to the elements of Vec<Vec<T>>.

source

fn trivial_last_entry(&mut self) -> Option<TrivialLastEntry<'_, Self::Item>>

Implementations on Foreign Types§

source§

impl<T> VecVecExt for Vec<Vec<T>>

§

type Item = T

source§

fn popping_iter(&mut self) -> PoppingIter<'_, Self::Item>

source§

fn lending_iter_mut(&mut self) -> LendingIterMut<'_, Self::Item>

source§

fn lending_iter(&self) -> LendingIter<'_, Self::Item>

source§

fn trivial_last_entry(&mut self) -> Option<TrivialLastEntry<'_, Self::Item>>

Implementors§