Struct gfx_core::handle::Texture [] [src]

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

Typed texture object

Methods

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

fn get_info(&self) -> &Descriptor

Get texture descriptor

Trait Implementations

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

type Raw = RawTexture<R>

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

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

Derived Implementations

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

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

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

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

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

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

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

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

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

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

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