Enum luminance::tess::TessVertices
[−]
[src]
pub enum TessVertices<'a, T> where
T: 'a + Vertex, { Fill(&'a [T]), Reserve(usize), }
Accepted vertices for building tessellations.
This type enables you to pass in a slice of vertices or ask for the GPU to only reserve enough space for the number of vertices, leaving the allocated memory uninitialized.
Variants
Fill(&'a [T])
Pass in a slice of vertices.
Reserve(usize)
Reserve a certain number of vertices.
Trait Implementations
impl<'a, T: Debug> Debug for TessVertices<'a, T> where
T: 'a + Vertex,
[src]
T: 'a + Vertex,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a, T: Eq> Eq for TessVertices<'a, T> where
T: 'a + Vertex,
[src]
T: 'a + Vertex,
impl<'a, T: PartialEq> PartialEq for TessVertices<'a, T> where
T: 'a + Vertex,
[src]
T: 'a + Vertex,
fn eq(&self, __arg_0: &TessVertices<'a, T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TessVertices<'a, T>) -> bool
[src]
This method tests for !=
.
impl<'a, T> From<&'a [T]> for TessVertices<'a, T> where
T: 'a + Vertex,
[src]
T: 'a + Vertex,
Auto Trait Implementations
impl<'a, T> Send for TessVertices<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Sync for TessVertices<'a, T> where
T: Sync,
T: Sync,