Trait bevy::render::mesh::primitives::Meshable
pub trait Meshable {
type Output;
// Required method
fn mesh(&self) -> Self::Output;
}
Expand description
A trait for shapes that can be turned into a Mesh
.
Required Associated Types§
type Output
type Output
The output of Self::mesh
. This can either be a Mesh
or a builder used for creating a Mesh
.