pub trait AsVertex:
Sized
+ Debug
+ PartialEq
+ PartialOrd
+ Copy
+ Send
+ Sync
+ 'static {
// Required method
fn vertex() -> VertexFormat;
}
Expand description
Trait implemented by all valid vertex formats.
Required Methods§
Sourcefn vertex() -> VertexFormat
fn vertex() -> VertexFormat
List of all attributes formats with name and offset.
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.