Enum glium::index::IndexType [] [src]

#[repr(u32)]
pub enum IndexType { U8, U16, U32, }

Type of the indices in an index source.

Variants

u8

u16

u32

Methods

impl IndexType
[src]

[src]

Returns the size in bytes of each index of this type.

[src]

Returns true if the backend supports this type of index.

Trait Implementations

impl Debug for IndexType
[src]

[src]

Formats the value using the given formatter.

impl Clone for IndexType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for IndexType
[src]

impl PartialEq for IndexType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for IndexType
[src]