Struct gfx::core::pso::VertexBufferSet []

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

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

Methods

impl<R> VertexBufferSet<R> where R: Resources

fn new() -> VertexBufferSet<R>

Create an empty set

Trait Implementations

impl<R> Debug for VertexBufferSet<R> where R: Resources + Debug, R::Buffer: Debug

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

Formats the value using the given formatter.

impl<R> Clone for VertexBufferSet<R> where R: Resources + Clone, R::Buffer: Clone

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