[−][src]Struct lyon_tessellation::geometry_builder::VertexBuffers
Structure that holds the vertex and index data.
Usually written into though temporary BuffersBuilder
objects.
Fields
vertices: Vec<OutputVertex>
indices: Vec<OutputIndex>
Methods
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]
fn clone(&self) -> VertexBuffers<OutputVertex, OutputIndex>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<OutputVertex: Debug, OutputIndex: Debug> Debug for VertexBuffers<OutputVertex, OutputIndex>
[src]
impl<OutputVertex: Default, OutputIndex: Default> Default for VertexBuffers<OutputVertex, OutputIndex>
[src]
fn default() -> VertexBuffers<OutputVertex, OutputIndex>
[src]
Auto Trait Implementations
impl<OutputVertex, OutputIndex> RefUnwindSafe for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: RefUnwindSafe,
OutputVertex: RefUnwindSafe,
OutputIndex: RefUnwindSafe,
OutputVertex: RefUnwindSafe,
impl<OutputVertex, OutputIndex> Send for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: Send,
OutputVertex: Send,
OutputIndex: Send,
OutputVertex: Send,
impl<OutputVertex, OutputIndex> Sync for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: Sync,
OutputVertex: Sync,
OutputIndex: Sync,
OutputVertex: Sync,
impl<OutputVertex, OutputIndex> Unpin for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: Unpin,
OutputVertex: Unpin,
OutputIndex: Unpin,
OutputVertex: Unpin,
impl<OutputVertex, OutputIndex> UnwindSafe for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: UnwindSafe,
OutputVertex: UnwindSafe,
OutputIndex: UnwindSafe,
OutputVertex: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,