Struct gfx::handle::RawRenderTargetView
[−]
pub struct RawRenderTargetView<R>(_, _, _)
where
R: Resources;
Raw RTV
Methods
impl<R> RawRenderTargetView<R> where
R: Resources,
R: Resources,
fn get_dimensions(&self) -> (u16, u16, u16, AaMode)
Get target dimensions
fn get_texture(&self) -> &RawTexture<R>
Get the associated texture
Trait Implementations
impl<R> Eq for RawRenderTargetView<R> where
R: Resources + Eq,
R::RenderTargetView: Eq,
R: Resources + Eq,
R::RenderTargetView: Eq,
impl<R> PartialEq<RawRenderTargetView<R>> for RawRenderTargetView<R> where
R: Resources + PartialEq<R>,
R::RenderTargetView: PartialEq<R::RenderTargetView>,
R: Resources + PartialEq<R>,
R::RenderTargetView: PartialEq<R::RenderTargetView>,
fn eq(&self, __arg_0: &RawRenderTargetView<R>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RawRenderTargetView<R>) -> bool
This method tests for !=
.
impl<R> Clone for RawRenderTargetView<R> where
R: Resources + Clone,
R::RenderTargetView: Clone,
R: Resources + Clone,
R::RenderTargetView: Clone,
fn clone(&self) -> RawRenderTargetView<R>
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> Hash for RawRenderTargetView<R> where
R: Resources + Hash,
R::RenderTargetView: Hash,
R: Resources + Hash,
R::RenderTargetView: Hash,
fn hash<__HR>(&self, __arg_0: &mut __HR) where
__HR: Hasher,
__HR: Hasher,
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
H: Hasher,
Feeds a slice of this type into the state provided.
impl<R> Debug for RawRenderTargetView<R> where
R: Resources + Debug,
R::RenderTargetView: Debug,
R: Resources + Debug,
R::RenderTargetView: Debug,