pub trait VertexType {
// Required methods
fn vertex_size() -> usize;
fn attribute_types() -> &'static [GLenum] ⓘ;
fn attribute_sizes() -> &'static [GLint] ⓘ;
}
Required Methods§
fn vertex_size() -> usize
fn attribute_types() -> &'static [GLenum] ⓘ
fn attribute_sizes() -> &'static [GLint] ⓘ
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.