Struct gfx_core::pso::VertexBufferSet [] [src]

pub struct VertexBufferSet<R: Resources>(pub [Option<(R::Buffer, BufferOffset)>; 16]);

A complete set of vertex buffers to be used for vertex import in PSO.

Methods

impl<R: Resources> VertexBufferSet<R>
[src]

Create an empty set

Trait Implementations

impl<R: Clone + Resources> Clone for VertexBufferSet<R> where
    R::Buffer: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<R: Copy + Resources> Copy for VertexBufferSet<R> where
    R::Buffer: Copy
[src]

impl<R: Debug + Resources> Debug for VertexBufferSet<R> where
    R::Buffer: Debug
[src]

Formats the value using the given formatter.

impl<R: Eq + Resources> Eq for VertexBufferSet<R> where
    R::Buffer: Eq
[src]

impl<R: Hash + Resources> Hash for VertexBufferSet<R> where
    R::Buffer: Hash
[src]

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

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

impl<R: PartialEq + Resources> PartialEq for VertexBufferSet<R> where
    R::Buffer: PartialEq
[src]

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

This method tests for !=.