Struct glium::index::NoIndices
[−]
[src]
pub struct NoIndices(pub PrimitiveType);
Marker that can be used as an indices source when you don't need indices.
If you use this, then the primitives will be constructed using the order in which the vertices are in the vertices sources.
Trait Implementations
impl Copy for NoIndices
[src]
impl Clone for NoIndices
[src]
fn clone(&self) -> NoIndices
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for NoIndices
[src]
impl<'a> From<NoIndices> for IndicesSource<'a>
[src]
fn from(marker: NoIndices) -> IndicesSource<'a>
[src]
Performs the conversion.
impl<'a, 'b> From<&'b NoIndices> for IndicesSource<'a>
[src]
fn from(marker: &'b NoIndices) -> IndicesSource<'a>
[src]
Performs the conversion.