Skip to main content

Vertex

Trait Vertex 

Source
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§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§