Struct bismuth::render::pipeline::Vertex []

pub struct Vertex {
    pub position: [f32; 3],
    pub uv: [f32; 2],
    pub color: [f32; 4],
}

Fields

Methods

impl Vertex
[src]

Trait Implementations

impl Clone for Vertex

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Vertex

impl Debug for Vertex

Formats the value using the given formatter.

impl Pod for Vertex

impl Structure<Format> for Vertex

Get the layout of an element by name.

impl Default for Vertex
[src]

Returns the "default value" for a type. Read more

impl Eq for Vertex
[src]

impl Hash for Vertex
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Vertex
[src]

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

This method tests for !=.