Enum gfx::buffer::Role [] [src]

#[repr(u8)]
pub enum Role { Vertex, Index, Constant, Staging, }

Role of the memory buffer.

Variants

Generic vertex buffer

Index buffer

Constant buffer

Staging buffer

Trait Implementations

impl Copy for Role
[src]

impl PartialEq<Role> for Role
[src]

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

This method tests for !=.

impl Eq for Role
[src]

impl Hash for Role
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Role
[src]

Formats the value using the given formatter.

impl Clone for Role
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more