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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
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.
impl<T: BaseVol> BaseVol for &T
Implementing BaseVol for any &'a BaseVol makes it possible to implement
IntoVolIterator for references.