Struct gfx_core::handle::ShaderResourceView
[−]
[src]
pub struct ShaderResourceView<R: Resources, T>(_, _);
Type-safe Shader Resource View Handle
Trait Implementations
impl<R: PartialEq + Resources, T: PartialEq> PartialEq for ShaderResourceView<R, T>
[src]
fn eq(&self, __arg_0: &ShaderResourceView<R, T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ShaderResourceView<R, T>) -> bool
This method tests for !=
.
impl<R: Hash + Resources, T: Hash> Hash for ShaderResourceView<R, T>
[src]
fn hash<__HRT: Hasher>(&self, __arg_0: &mut __HRT)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<R: Debug + Resources, T: Debug> Debug for ShaderResourceView<R, T>
[src]
impl<R: Clone + Resources, T: Clone> Clone for ShaderResourceView<R, T>
[src]
fn clone(&self) -> ShaderResourceView<R, T>
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: Resources, T> Typed for ShaderResourceView<R, T>
[src]
type Raw = RawShaderResourceView<R>
The raw type behind the phantom.
fn new(handle: RawShaderResourceView<R>) -> ShaderResourceView<R, T>
Crete a new phantom from the raw type.
fn raw(&self) -> &RawShaderResourceView<R>
Get an internal reference to the raw type.