pub trait RectRasterableVol: BaseVol {
    const RECT_SIZE: Vec2<u32>;
}
Expand description

A volume that is compile-time sized in x and y direction and has its lower bound at (0, 0, z). In z direction there’s no restriction on the lower or upper bound. The name RectRasterableVol was chosen because such a volume can be used with VolGrid2d.

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementors§

source§

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

source§

const RECT_SIZE: Vec2<u32> = S::RECT_SIZE