Trait VertexLayout

Source
pub unsafe trait VertexLayout: Pod {
    const ATTRIBUTES: &'static [VertexAttribute];
}
Expand description

Represents vertex values in a vertex buffer object.

§Safety

Required Associated Constants§

Source

const ATTRIBUTES: &'static [VertexAttribute]

The attributes of this layout.

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.

Implementors§