Struct gfx::handle::RenderTargetView []

pub struct RenderTargetView<R, T>(_, _) where R: Resources;

Typed RTV

Methods

impl<R, T> RenderTargetView<R, T> where R: Resources

fn get_dimensions(&self) -> (u16, u16, u16, AaMode)

Get target dimensions

Trait Implementations

impl<R, T> PartialEq<RenderTargetView<R, T>> for RenderTargetView<R, T> where R: Resources + PartialEq<R>, T: PartialEq<T>

fn eq(&self, __arg_0: &RenderTargetView<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: &RenderTargetView<R, T>) -> bool

This method tests for !=.

impl<R, T> Hash for RenderTargetView<R, T> where R: Resources + Hash, T: Hash

fn hash<__HRT>(&self, __arg_0: &mut __HRT) where __HRT: Hasher

impl<R, T> Eq for RenderTargetView<R, T> where R: Resources + Eq, T: Eq

impl<R, T> Debug for RenderTargetView<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 RenderTargetView<R, T> where R: Resources + Clone, T: Clone

fn clone(&self) -> RenderTargetView<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 RenderTargetView<R, T> where R: Resources

type Raw = RawRenderTargetView<R>

The raw type behind the phantom.

fn new(h: RawRenderTargetView<R>) -> RenderTargetView<R, T>

Crete a new phantom from the raw type.

fn raw(&self) -> &RawRenderTargetView<R>

Get an internal reference to the raw type.