Struct gl_utils::vertex::Vert2d[][src]

pub struct Vert2d {
    pub position: [f32; 2],
}

Fields

Trait Implementations

impl Clone for Vert2d
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Vert2d
[src]

impl Debug for Vert2d
[src]

Formats the value using the given formatter. Read more

impl Default for Vert2d
[src]

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

impl Vertex for Vert2d

Builds the VertexFormat representing the layout of this element.

Returns true if the backend supports this vertex format.

Auto Trait Implementations

impl Send for Vert2d

impl Sync for Vert2d