[−][src]Struct lyon_tess2::geometry_builder::VertexBuffers
Structure that holds the vertex and index data.
Usually written into though temporary BuffersBuilder
objects.
Fields
vertices: Vec<OutputVertex, Global>
indices: Vec<OutputIndex, Global>
Implementations
impl<OutputVertex, OutputIndex> VertexBuffers<OutputVertex, OutputIndex>
[src]
pub fn new() -> VertexBuffers<OutputVertex, OutputIndex>
[src]
Constructor
pub fn with_capacity(
num_vertices: usize,
num_indices: usize
) -> VertexBuffers<OutputVertex, OutputIndex>
[src]
num_vertices: usize,
num_indices: usize
) -> VertexBuffers<OutputVertex, OutputIndex>
Constructor
Trait Implementations
impl<OutputVertex, OutputIndex> Clone for VertexBuffers<OutputVertex, OutputIndex> where
OutputVertex: Clone,
OutputIndex: Clone,
[src]
OutputVertex: Clone,
OutputIndex: Clone,
pub fn clone(&self) -> VertexBuffers<OutputVertex, OutputIndex>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<OutputVertex, OutputIndex> Debug for VertexBuffers<OutputVertex, OutputIndex> where
OutputVertex: Debug,
OutputIndex: Debug,
[src]
OutputVertex: Debug,
OutputIndex: Debug,
impl<OutputVertex, OutputIndex> Default for VertexBuffers<OutputVertex, OutputIndex> where
OutputVertex: Default,
OutputIndex: Default,
[src]
OutputVertex: Default,
OutputIndex: Default,
pub fn default() -> VertexBuffers<OutputVertex, OutputIndex>
[src]
Auto Trait Implementations
impl<OutputVertex, OutputIndex> RefUnwindSafe for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: RefUnwindSafe,
OutputVertex: RefUnwindSafe,
[src]
OutputIndex: RefUnwindSafe,
OutputVertex: RefUnwindSafe,
impl<OutputVertex, OutputIndex> Send for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: Send,
OutputVertex: Send,
[src]
OutputIndex: Send,
OutputVertex: Send,
impl<OutputVertex, OutputIndex> Sync for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: Sync,
OutputVertex: Sync,
[src]
OutputIndex: Sync,
OutputVertex: Sync,
impl<OutputVertex, OutputIndex> Unpin for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: Unpin,
OutputVertex: Unpin,
[src]
OutputIndex: Unpin,
OutputVertex: Unpin,
impl<OutputVertex, OutputIndex> UnwindSafe for VertexBuffers<OutputVertex, OutputIndex> where
OutputIndex: UnwindSafe,
OutputVertex: UnwindSafe,
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,