Struct lyon_tessellation::VertexBuffers [−][src]
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
Trait Implementations
impl<OutputVertex: Clone, OutputIndex: Clone> Clone for VertexBuffers<OutputVertex, OutputIndex>
impl<OutputVertex: Clone, OutputIndex: Clone> Clone for VertexBuffers<OutputVertex, OutputIndex>
impl<OutputVertex: Debug, OutputIndex: Debug> Debug for VertexBuffers<OutputVertex, OutputIndex>
impl<OutputVertex: Debug, OutputIndex: Debug> Debug for VertexBuffers<OutputVertex, OutputIndex>
impl<OutputVertex: Default, OutputIndex: Default> Default for VertexBuffers<OutputVertex, OutputIndex>
impl<OutputVertex: Default, OutputIndex: Default> Default for VertexBuffers<OutputVertex, OutputIndex>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<OutputVertex, OutputIndex> RefUnwindSafe for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: RefUnwindSafe,
OutputVertex: RefUnwindSafe,
impl<OutputVertex, OutputIndex> Send for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: Send,
OutputVertex: Send,
impl<OutputVertex, OutputIndex> Sync for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: Sync,
OutputVertex: Sync,
impl<OutputVertex, OutputIndex> Unpin for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: Unpin,
OutputVertex: Unpin,
impl<OutputVertex, OutputIndex> UnwindSafe for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: UnwindSafe,
OutputVertex: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more