pub trait EmitTriangles {
type Vertex;
// Required method
fn emit_triangles<F>(&self, _: F)
where F: FnMut(Triangle<Self::Vertex>);
}
Expand description
provides a way to convert a polygon down to triangles
Required Associated Types§
Required Methods§
Sourcefn emit_triangles<F>(&self, _: F)
fn emit_triangles<F>(&self, _: F)
convert a polygon to one or more triangles, each triangle
is returned by calling emit
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.