#[repr(u32)]
pub enum Attrib {
Show 19 variants Position, Normal, Tangent, Bitangent, Color0, Color1, Color2, Color3, Indices, Weight, TexCoord0, TexCoord1, TexCoord2, TexCoord3, TexCoord4, TexCoord5, TexCoord6, TexCoord7, Count,
}
Expand description

Vertex attribute enum.

Variants

Position

a_position

Normal

a_normal

Tangent

a_tangent

Bitangent

a_bitangent

Color0

a_color0

Color1

a_color1

Color2

a_color2

Color3

a_color3

Indices

a_indices

Weight

a_weight

TexCoord0

a_texcoord0

TexCoord1

a_texcoord1

TexCoord2

a_texcoord2

TexCoord3

a_texcoord3

TexCoord4

a_texcoord4

TexCoord5

a_texcoord5

TexCoord6

a_texcoord6

TexCoord7

a_texcoord7

Count

Number of entries in the enum

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.