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 moreAuto Trait Implementations§
impl<OutputVertex, OutputIndex> RefUnwindSafe for VertexBuffers<OutputVertex, OutputIndex>where
OutputIndex: RefUnwindSafe,
OutputVertex: RefUnwindSafe,
impl<OutputVertex, OutputIndex> Send for VertexBuffers<OutputVertex, OutputIndex>
impl<OutputVertex, OutputIndex> Sync for VertexBuffers<OutputVertex, OutputIndex>
impl<OutputVertex, OutputIndex> Unpin for VertexBuffers<OutputVertex, OutputIndex>
impl<OutputVertex, OutputIndex> UnwindSafe for VertexBuffers<OutputVertex, OutputIndex>where
OutputIndex: UnwindSafe,
OutputVertex: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more