[][src]Struct gfx::pso::buffer::VertexBufferCommon

pub struct VertexBufferCommon<T, I = InstanceRate>(_, _);

Service struct to simplify the implementations of VertexBuffer and InstanceBuffer.

Trait Implementations

impl<'a, T: Structure<Format>, I: ToInstanceRate + 'a> DataLink<'a> for VertexBufferCommon<T, I>[src]

type Init = I::Init

The assotiated "init" type - a member of the PSO "init" struct.

Attempt to link with a constant buffer.

Attempt to link with a global constant.

Attempt to link with an output render target (RTV).

Attempt to link with a depth-stencil target (DSV).

Attempt to link with a shader resource (SRV).

Attempt to link with an unordered access (UAV).

Attempt to link with a sampler.

Attempt to enable scissor test.

impl<R: Resources, T, I> DataBind<R> for VertexBufferCommon<T, I>[src]

type Data = Buffer<R, T>

The associated "data" type - a member of the PSO "data" struct.

impl<T, I> Eq for VertexBufferCommon<T, I>[src]

impl<T, I> Clone for VertexBufferCommon<T, I>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T, I> PartialEq<VertexBufferCommon<T, I>> for VertexBufferCommon<T, I>[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl<T, I> Hash for VertexBufferCommon<T, I>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

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

impl<T, I> Debug for VertexBufferCommon<T, I>[src]

Auto Trait Implementations

impl<T, I> Send for VertexBufferCommon<T, I> where
    I: Send,
    T: Send

impl<T, I> Sync for VertexBufferCommon<T, I> where
    I: Sync,
    T: Sync

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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