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]
R::Sampler: Clone,
fn clone(&self) -> SamplerParam<R>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<R: Copy + Resources> Copy for SamplerParam<R> where
R::Sampler: Copy,
[src]
R::Sampler: Copy,
impl<R: Debug + Resources> Debug for SamplerParam<R> where
R::Sampler: Debug,
[src]
R::Sampler: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<R: Eq + Resources> Eq for SamplerParam<R> where
R::Sampler: Eq,
[src]
R::Sampler: Eq,
impl<R: Hash + Resources> Hash for SamplerParam<R> where
R::Sampler: Hash,
[src]
R::Sampler: Hash,
fn hash<__HR: Hasher>(&self, __arg_0: &mut __HR)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<R: PartialEq + Resources> PartialEq for SamplerParam<R> where
R::Sampler: PartialEq,
[src]
R::Sampler: PartialEq,
fn eq(&self, __arg_0: &SamplerParam<R>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SamplerParam<R>) -> bool
[src]
This method tests for !=
.