# [−][src]Trait plexus::index::IndexBuffer

pub trait IndexBuffer<R> where    R: Grouping, {
type Index: Copy + Integer + NumCast + Unsigned;
}

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>>.

## Associated Types

### type Index: Copy + Integer + NumCast + Unsigned

The type of individual indices in the buffer.