[][src]Struct lyon_tessellation::geometry_builder::VertexBuffers

pub struct VertexBuffers<OutputVertex, OutputIndex> {
    pub vertices: Vec<OutputVertex>,
    pub indices: Vec<OutputIndex>,
}

Structure that holds the vertex and index data.

Usually written into though temporary BuffersBuilder objects.

Fields

vertices: Vec<OutputVertex>indices: Vec<OutputIndex>

Implementations

impl<OutputVertex, OutputIndex> VertexBuffers<OutputVertex, OutputIndex>[src]

pub fn new() -> Self[src]

Constructor

pub fn with_capacity(num_vertices: usize, num_indices: usize) -> Self[src]

Constructor

Trait Implementations

impl<OutputVertex: Clone, OutputIndex: Clone> Clone for VertexBuffers<OutputVertex, OutputIndex>[src]

impl<OutputVertex: Debug, OutputIndex: Debug> Debug for VertexBuffers<OutputVertex, OutputIndex>[src]

impl<OutputVertex: Default, OutputIndex: Default> Default for VertexBuffers<OutputVertex, OutputIndex>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.