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]
R::ShaderResourceView: Clone,
fn clone(&self) -> ResourceViewParam<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 ResourceViewParam<R> where
R::ShaderResourceView: Copy,
[src]
R::ShaderResourceView: Copy,
impl<R: Debug + Resources> Debug for ResourceViewParam<R> where
R::ShaderResourceView: Debug,
[src]
R::ShaderResourceView: 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 ResourceViewParam<R> where
R::ShaderResourceView: Eq,
[src]
R::ShaderResourceView: Eq,
impl<R: Hash + Resources> Hash for ResourceViewParam<R> where
R::ShaderResourceView: Hash,
[src]
R::ShaderResourceView: 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 ResourceViewParam<R> where
R::ShaderResourceView: PartialEq,
[src]
R::ShaderResourceView: PartialEq,
fn eq(&self, __arg_0: &ResourceViewParam<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: &ResourceViewParam<R>) -> bool
[src]
This method tests for !=
.