Struct gfx::device::handle::Texture [] [src]

pub struct Texture<R: Resources>(_, _);

Texture Handle

Methods

impl<R: Resources> Texture<R>
[src]

fn get_info(&self) -> &TextureInfo

Get texture info

fn cmp_ref(&self, lhs: &Texture<R>) -> Ordering

Compare ethe handle by the reference (not data)

Trait Implementations

impl<R: PartialEq + Resources> PartialEq for Texture<R> where R::Texture: PartialEq
[src]

fn eq(&self, __arg_0: &Texture<R>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Texture<R>) -> bool

This method tests for !=.

impl<R: Hash + Resources> Hash for Texture<R> where R::Texture: Hash
[src]

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

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> Debug for Texture<R> where R::Texture: Debug
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<R: Clone + Resources> Clone for Texture<R> where R::Texture: Clone
[src]

fn clone(&self) -> Texture<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