Struct lyon_tessellation::VertexBuffers[][src]

pub struct VertexBuffers<VertexType, IndexType> {
    pub vertices: Vec<VertexType>,
    pub indices: Vec<IndexType>,
}

Structure that holds the vertex and index data.

Usually writen into though temporary BuffersBuilder objects.

Fields

Methods

impl<VertexType, IndexType> VertexBuffers<VertexType, IndexType>
[src]

Constructor

Constructor

Trait Implementations

impl<VertexType: Clone, IndexType: Clone> Clone for VertexBuffers<VertexType, IndexType>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<VertexType: Debug, IndexType: Debug> Debug for VertexBuffers<VertexType, IndexType>
[src]

Formats the value using the given formatter. Read more

impl<VertexType: Default, IndexType: Default> Default for VertexBuffers<VertexType, IndexType>
[src]

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

Auto Trait Implementations

impl<VertexType, IndexType> Send for VertexBuffers<VertexType, IndexType> where
    IndexType: Send,
    VertexType: Send

impl<VertexType, IndexType> Sync for VertexBuffers<VertexType, IndexType> where
    IndexType: Sync,
    VertexType: Sync