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.

Implementations

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

pub fn new() -> VertexBufferSet<R>[src]

Create an empty set

Trait Implementations

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

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]

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]

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

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

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

Auto Trait Implementations

impl<R> RefUnwindSafe for VertexBufferSet<R> where
    <R as Resources>::Buffer: RefUnwindSafe

impl<R> Send for VertexBufferSet<R>

impl<R> Sync for VertexBufferSet<R>

impl<R> Unpin for VertexBufferSet<R> where
    <R as Resources>::Buffer: Unpin

impl<R> UnwindSafe for VertexBufferSet<R> where
    <R as Resources>::Buffer: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.