Trait RectRasterableVol

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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