pub trait Vertex: Pod {
const ATTRIBUTES: &'static [VertexAttribute];
}Expand description
A #[repr(C)] vertex type, and the attributes a program reads of it.
vertex_attributes! declares them.
Required Associated Constants§
const ATTRIBUTES: &'static [VertexAttribute]
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".