Struct gfx_core::pso::SamplerParam[][src]

pub struct SamplerParam<R: Resources>(pub R::Sampler, pub Usage, pub SamplerSlot);

A sampler run-time parameter for PSO.

Trait Implementations

impl<R: Clone + Resources> Clone for SamplerParam<R> where
    R::Sampler: Clone
[src]

impl<R: Copy + Resources> Copy for SamplerParam<R> where
    R::Sampler: Copy
[src]

impl<R: Debug + Resources> Debug for SamplerParam<R> where
    R::Sampler: Debug
[src]

impl<R: Eq + Resources> Eq for SamplerParam<R> where
    R::Sampler: Eq
[src]

impl<R: Hash + Resources> Hash for SamplerParam<R> where
    R::Sampler: Hash
[src]

impl<R: PartialEq + Resources> PartialEq<SamplerParam<R>> for SamplerParam<R> where
    R::Sampler: PartialEq
[src]

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

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

Auto Trait Implementations

impl<R> RefUnwindSafe for SamplerParam<R> where
    <R as Resources>::Sampler: RefUnwindSafe

impl<R> Send for SamplerParam<R>

impl<R> Sync for SamplerParam<R>

impl<R> Unpin for SamplerParam<R> where
    <R as Resources>::Sampler: Unpin

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