Struct gfx_core::pso::ResourceViewParam[][src]

pub struct ResourceViewParam<R: Resources>(pub R::ShaderResourceView, pub Usage, pub ResourceViewSlot);

A shader resource view (SRV) run-time parameter for PSO.

Trait Implementations

impl<R: Clone + Resources> Clone for ResourceViewParam<R> where
    R::ShaderResourceView: Clone
[src]

impl<R: Copy + Resources> Copy for ResourceViewParam<R> where
    R::ShaderResourceView: Copy
[src]

impl<R: Debug + Resources> Debug for ResourceViewParam<R> where
    R::ShaderResourceView: Debug
[src]

impl<R: Eq + Resources> Eq for ResourceViewParam<R> where
    R::ShaderResourceView: Eq
[src]

impl<R: Hash + Resources> Hash for ResourceViewParam<R> where
    R::ShaderResourceView: Hash
[src]

impl<R: PartialEq + Resources> PartialEq<ResourceViewParam<R>> for ResourceViewParam<R> where
    R::ShaderResourceView: PartialEq
[src]

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

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

Auto Trait Implementations

impl<R> RefUnwindSafe for ResourceViewParam<R> where
    <R as Resources>::ShaderResourceView: RefUnwindSafe

impl<R> Send for ResourceViewParam<R>

impl<R> Sync for ResourceViewParam<R>

impl<R> Unpin for ResourceViewParam<R> where
    <R as Resources>::ShaderResourceView: Unpin

impl<R> UnwindSafe for ResourceViewParam<R> where
    <R as Resources>::ShaderResourceView: 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.