Enum gfx_core::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 Clone for Role
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Role
[src]

impl Debug for Role
[src]

[src]

Formats the value using the given formatter.

impl Eq for Role
[src]

impl Hash for Role
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq for Role
[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 !=.