Struct gfx::handle::ShaderResourceView
[−]
[src]
pub struct ShaderResourceView<R, T>(_, _) where R: Resources;
Type-safe Shader Resource View Handle
Trait Implementations
impl<R, T> PartialEq<ShaderResourceView<R, T>> for ShaderResourceView<R, T> where R: Resources + PartialEq<R>, T: PartialEq<T>
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, T> Hash for ShaderResourceView<R, T> where R: Resources + Hash, T: Hash
impl<R, T> Debug for ShaderResourceView<R, T> where R: Resources + Debug, T: Debug
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[−]
Formats the value using the given formatter.
impl<R, T> Clone for ShaderResourceView<R, T> where R: Resources + Clone, T: Clone
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, T> Typed for ShaderResourceView<R, T> where R: Resources
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.