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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NoIndices
[src]

[src]

Formats the value using the given formatter.

impl<'a> From<NoIndices> for IndicesSource<'a>
[src]

[src]

Performs the conversion.

impl<'a, 'b> From<&'b NoIndices> for IndicesSource<'a>
[src]

[src]

Performs the conversion.