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

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

Typed texture object

Methods

impl<R, S> Texture<R, S> where R: Resources

fn get_info(&self) -> &Descriptor

Get texture descriptor

Trait Implementations

impl<R, S> Typed for Texture<R, S> where R: Resources

type Raw = RawTexture<R>

fn new(handle: RawTexture<R>) -> Texture<R, S>

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

Derived Implementations

impl<R, S> PartialEq<Texture<R, S>> for Texture<R, S> where S: PartialEq<S>, R: Resources + PartialEq<R>

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

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

impl<R, S> Hash for Texture<R, S> where R: Resources + Hash, S: Hash

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

impl<R, S> Debug for Texture<R, S> where R: Resources + Debug, S: Debug

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

impl<R, S> Clone for Texture<R, S> where R: Resources + Clone, S: Clone

fn clone(&self) -> Texture<R, S>

1.0.0fn clone_from(&mut self, source: &Self)