Trait veloren_common::vol::IntoFullVolIterator
source · pub trait IntoFullVolIterator<'a>: BaseVolwhere
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§
Required Methods§
fn full_vol_iter(self) -> Self::IntoIter
Implementations on Foreign Types§
source§impl<'a, T: 'a + SizedVol> IntoFullVolIterator<'a> for &'a Twhere
Self: IntoVolIterator<'a>,
impl<'a, T: 'a + SizedVol> IntoFullVolIterator<'a> for &'a Twhere
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.