pub trait IntoFullVolIterator<'a>: BaseVol
where Self::Vox: 'a,
{ type IntoIter: Iterator<Item = (Vec3<i32>, &'a Self::Vox)>; // Required method fn full_vol_iter(self) -> Self::IntoIter; }
Expand description

A volume (usually rather a reference to a volume) that is convertible into an iterator.

Required Associated Types§

source

type IntoIter: Iterator<Item = (Vec3<i32>, &'a Self::Vox)>

Required Methods§

source

fn full_vol_iter(self) -> Self::IntoIter

Implementations on Foreign Types§

source§

impl<'a, T: 'a + SizedVol> IntoFullVolIterator<'a> for &'a T
where Self: IntoVolIterator<'a>,

For any &'a SizedVol: IntoVolIterator we implement IntoFullVolIterator. Unfortunately we can’t just implement IntoIterator in this generic way because it’s defined in another crate. That’s actually the only reason why the trait IntoFullVolIterator exists.

Implementors§