Struct gfx::core::pso::SamplerParam []

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

A sampler run-time parameter for PSO.

Trait Implementations

impl<R> Debug for SamplerParam<R> where R: Resources + Debug, R::Sampler: Debug

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

Formats the value using the given formatter.

impl<R> Clone for SamplerParam<R> where R: Resources + Clone, R::Sampler: Clone

fn clone(&self) -> SamplerParam<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 SamplerParam<R> where R: Copy + Resources, R::Sampler: Copy