Struct gl_utils::vertex::Vert2dLayer[][src]

pub struct Vert2dLayer {
    pub position: [f32; 2],
    pub layer: u16,
}

Fields

Trait Implementations

impl Clone for Vert2dLayer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Vert2dLayer
[src]

impl Debug for Vert2dLayer
[src]

Formats the value using the given formatter. Read more

impl Default for Vert2dLayer
[src]

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

impl Vertex for Vert2dLayer

Builds the VertexFormat representing the layout of this element.

Returns true if the backend supports this vertex format.

Auto Trait Implementations

impl Send for Vert2dLayer

impl Sync for Vert2dLayer