Trait 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§

Source

fn scaled_by(self, scale: Vec3<f32>) -> Scaled<Self>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl<T: BaseVol> BaseVol for &T

Implementing BaseVol for any &'a BaseVol makes it possible to implement IntoVolIterator for references.

Source§

type Error = <T as BaseVol>::Error

Source§

type Vox = <T as BaseVol>::Vox

Implementors§