Trait nannou::ui::backend::glium::glium::index::Index[][src]

pub unsafe trait Index: 'static + Send + Copy {
    fn get_type() -> IndexType;

    fn is_supported<C>(caps: &C) -> bool
    where
        C: CapabilitiesSource + ?Sized
, { ... } }

An index from the index buffer.

Required Methods

Returns the IndexType corresponding to this type.

Provided Methods

Returns true if this type of index is supported by the backend.

Implementations on Foreign Types

impl Index for u32
[src]

impl Index for u8
[src]

impl Index for u16
[src]

Implementors