Trait gfx::Typed
[−]
[src]
pub trait Typed { type Raw; fn new(raw: Self::Raw) -> Self; fn raw(&self) -> &Self::Raw; }
A service trait used to get the raw data out of strong types. Not meant for public use.
Associated Types
type Raw
The raw type behind the phantom.
Required Methods
fn new(raw: Self::Raw) -> Self
Crete a new phantom from the raw type.
fn raw(&self) -> &Self::Raw
Get an internal reference to the raw type.
Implementors
impl<R, T> Typed for Buffer<R, T> where R: Resources
impl<R, S> Typed for Texture<R, S> where R: Resources
impl<R, T> Typed for ShaderResourceView<R, T> where R: Resources
impl<R, T> Typed for UnorderedAccessView<R, T> where R: Resources
impl<R, T> Typed for RenderTargetView<R, T> where R: Resources
impl<R, T> Typed for DepthStencilView<R, T> where R: Resources