Struct ggez::graphics::Vertex []

pub struct Vertex {
    pub pos: [f32; 2],
    pub uv: [f32; 2],
}

Internal structure containing vertex data.

Fields

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. Read more

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.

Auto Trait Implementations

impl Send for Vertex

impl Sync for Vertex