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<'a, T: BaseVol> BaseVol for &'a T

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

§

type Error = <T as BaseVol>::Error

§

type Vox = <T as BaseVol>::Vox

Implementors§

source§

impl BaseVol for Structure

source§

impl<V, M, A: Access> BaseVol for Dyna<V, M, A>

§

type Error = DynaError

§

type Vox = V

source§

impl<V, S: RectVolSize, M: Clone> BaseVol for Chonk<V, S, M>

§

type Error = ChonkError

§

type Vox = V

source§

impl<V, S: VolSize, M> BaseVol for Chunk<V, S, M>

§

type Error = ChunkError

§

type Vox = V

source§

impl<V: BaseVol> BaseVol for Scaled<V>

§

type Error = <V as BaseVol>::Error

§

type Vox = <V as BaseVol>::Vox

source§

impl<V: RasterableVol + Debug> BaseVol for VolGrid3d<V>

§

type Error = VolGrid3dError<V>

§

type Vox = <V as BaseVol>::Vox

source§

impl<V: RectRasterableVol + Debug> BaseVol for VolGrid2d<V>

§

type Error = VolGrid2dError<V>

§

type Vox = <V as BaseVol>::Vox