logo
pub trait IndexBuffer<R> where
    R: Grouping
{ type Index: Copy + Integer + Unsigned; }
Expand description

Index buffer.

This trait is implemented by types that can be used as an index buffer. The elements in the buffer are determined by a Grouping.

In particular, this trait is implemented by Vec, such as Vec<usize> or Vec<Trigon<usize>>.

Required Associated Types

The type of individual indices in the buffer.

This type is distinct from the grouping. For example, if an index buffer contains Trigon<usize> elements, then this type is usize.

Implementations on Foreign Types

Implementors