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
Provided Methods
fn is_supported<C>(caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,
C: CapabilitiesSource + ?Sized,
Returns true if this type of index is supported by the backend.
Implementations on Foreign Types
impl Index for u32
[src]
impl Index for u32
fn get_type() -> IndexType
[src]
fn get_type() -> IndexType
fn is_supported<C>(caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,
[src]
fn is_supported<C>(caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,
impl Index for u8
[src]
impl Index for u8
fn get_type() -> IndexType
[src]
fn get_type() -> IndexType
fn is_supported<C>(caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,
[src]
fn is_supported<C>(caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,
impl Index for u16
[src]
impl Index for u16
fn get_type() -> IndexType
[src]
fn get_type() -> IndexType
fn is_supported<C>(caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,
[src]
fn is_supported<C>(caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,