Enum gfx::core::IndexType []

pub enum IndexType {
    U8,
    U16,
    U32,
}

A type of each index value in the mesh's index buffer

Variants

U8U16U32

Trait Implementations

impl Debug for IndexType

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Clone for IndexType

fn clone(&self) -> IndexType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for IndexType

impl Hash for IndexType

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

impl PartialOrd<IndexType> for IndexType

fn partial_cmp(&self, __arg_0: &IndexType) -> Option<Ordering>

impl PartialEq<IndexType> for IndexType

fn eq(&self, __arg_0: &IndexType) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Ord for IndexType

fn cmp(&self, __arg_0: &IndexType) -> Ordering

impl Eq for IndexType