pub trait Meshable {
type Output: MeshBuilder;
// Required method
fn mesh(&self) -> Self::Output;
}Expand description
A trait for shapes that can be turned into a Mesh.
Required Associated Types§
Sourcetype Output: MeshBuilder
type Output: MeshBuilder
The output of Self::mesh. This will be a MeshBuilder used for creating a Mesh.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".