pub trait VertexTrait {
// Required methods
fn get_attribute_descriptors() -> Vec<VertexAttributeDesc>;
fn get_attribute_names() -> Vec<String>;
fn stride() -> usize;
}
Required Methods§
fn get_attribute_descriptors() -> Vec<VertexAttributeDesc>
fn get_attribute_names() -> Vec<String>
fn stride() -> usize
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.