Struct valor::Vertex []

pub struct Vertex {
    pub pos: [f32; 4],
    pub color: [f32; 3],
}

Basic model building block.

Fields

Methods

impl Vertex
[src]

[src]

Trait Implementations

impl Clone for Vertex

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Vertex

impl Debug for Vertex

Formats the value using the given formatter.

impl PartialEq for Vertex

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Pod for Vertex

impl Structure<Format> for Vertex

Get the layout of an element by name.