pub trait Vertex: Pod {
// Required method
fn build_bindings() -> &'static [VertexFormat];
}
Expand description
Trait for structures that represent a vertex.
Required Methods§
sourcefn build_bindings() -> &'static [VertexFormat]
fn build_bindings() -> &'static [VertexFormat]
Builds the VertexFormat
representing the layout of this element.