Struct lyon_tessellation::VertexBuffers
source · pub struct VertexBuffers<OutputVertex, OutputIndex> {
pub vertices: Vec<OutputVertex>,
pub indices: Vec<OutputIndex>,
}
Expand description
Structure that holds the vertex and index data.
Usually written into though temporary BuffersBuilder
objects.
Fields§
§vertices: Vec<OutputVertex>
§indices: Vec<OutputIndex>
Implementations§
source§impl<OutputVertex, OutputIndex> VertexBuffers<OutputVertex, OutputIndex>
impl<OutputVertex, OutputIndex> VertexBuffers<OutputVertex, OutputIndex>
Trait Implementations§
source§impl<OutputVertex: Clone, OutputIndex: Clone> Clone for VertexBuffers<OutputVertex, OutputIndex>
impl<OutputVertex: Clone, OutputIndex: Clone> Clone for VertexBuffers<OutputVertex, OutputIndex>
source§fn clone(&self) -> VertexBuffers<OutputVertex, OutputIndex>
fn clone(&self) -> VertexBuffers<OutputVertex, OutputIndex>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more