Trait IndexBuffer

Source
pub trait IndexBuffer {
    type Item;

    const ARITY: Option<usize>;
}
Expand description

Index buffer.

Describes the contents of an index buffer. This includes the arity of the buffer if constant.

Required Associated Constants§

Source

const ARITY: Option<usize>

Arity of the index buffer (and by extension the mesh).

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<A, N> IndexBuffer for Flat<A, N>

Source§

impl<N> IndexBuffer for Structured<Polygon<N>>
where N: Copy + Integer + NumCast + Unsigned,

Structured index buffer that contains dynamic Polygons.

Source§

impl<P> IndexBuffer for Structured<P>

Structured index buffer that contains Polygonal structures with constant arity.