pub trait Triangle3: Copy + Sealed {
const STRIDE: usize;
// Required method
fn aabb(&self) -> Box3D;
}Expand description
A 3D triangle record (f64 or f32 vertices). Implemented by Triangle3D
and Triangle3DF32; sealed, so the set of record types is fixed.
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".