pub trait Convex {
// Required methods
fn as_slice_faces(&self) -> &[f64];
fn as_slice_vtx(&self) -> &[f64];
fn as_slice_polygons(&self) -> &[u32];
// Provided method
fn new(
planes: &mut Vec<f64>,
vtx: &mut Vec<f64>,
polygons: &mut Vec<u32>,
) -> convexfvp { ... }
}
Expand description
constructor convexfvp
Required Methods§
Sourcefn as_slice_faces(&self) -> &[f64]
fn as_slice_faces(&self) -> &[f64]
as slice faces
Sourcefn as_slice_vtx(&self) -> &[f64]
fn as_slice_vtx(&self) -> &[f64]
as slice vtx
Sourcefn as_slice_polygons(&self) -> &[u32]
fn as_slice_polygons(&self) -> &[u32]
as slice polygons
Provided Methods§
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.