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]

fn new() -> VertexBufferSet<R>

Create an empty set

Trait Implementations

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

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

Formats the value using the given formatter.

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

fn clone(&self) -> VertexBufferSet<R>

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<R: Copy + Resources> Copy for VertexBufferSet<R> where R::Buffer: Copy
[src]