pub trait MeshView {
// Required methods
fn positions(&self) -> &[Point3] ⓘ;
fn indices(&self) -> &[u32];
}Expand description
Read-only triangle mesh view.
A foreign kernel can implement this for its native mesh and call algorithms without first adopting Axiolid’s owned container.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".