Struct gl_utils::vertex::Vert2dColor[][src]

pub struct Vert2dColor {
    pub position: [f32; 2],
    pub color: [f32; 4],
}

Fields

Trait Implementations

impl Clone for Vert2dColor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Vert2dColor
[src]

impl Debug for Vert2dColor
[src]

Formats the value using the given formatter. Read more

impl Default for Vert2dColor
[src]

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

impl Vertex for Vert2dColor

Builds the VertexFormat representing the layout of this element.

Returns true if the backend supports this vertex format.

Auto Trait Implementations

impl Send for Vert2dColor

impl Sync for Vert2dColor