Trait veloren_common::vol::BaseVol
source · pub trait BaseVol {
type Vox;
type Error: Debug;
// Provided method
fn scaled_by(self, scale: Vec3<f32>) -> Scaled<Self>
where Self: Sized { ... }
}
Expand description
A volume that contains voxel data.
Required Associated Types§
Provided Methods§
Implementations on Foreign Types§
source§impl<'a, T: BaseVol> BaseVol for &'a T
impl<'a, T: BaseVol> BaseVol for &'a T
Implementing BaseVol
for any &'a BaseVol
makes it possible to implement
IntoVolIterator
for references.