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, [src]
R: Resources,
Trait Implementations
impl<R, S> PartialEq<Texture<R, S>> for Texture<R, S> where
R: Resources + PartialEq<R>, [src]
R: Resources + PartialEq<R>,
fn eq(&self, other: &Texture<R, S>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl<R, S> Eq for Texture<R, S> where
R: Resources + Eq, [src]
R: Resources + Eq,
impl<R, S> Hash for Texture<R, S> where
R: Resources + Hash, [src]
R: Resources + Hash,
fn hash<__HRS>(&self, __state: &mut __HRS) where
__HRS: Hasher,
__HRS: Hasher,
Feeds this value into the given [Hasher]. Read more
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 given [Hasher]. Read more
impl<R, S> Debug for Texture<R, S> where
R: Resources + Debug, [src]
R: Resources + Debug,
fn fmt(&self, __f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<R, S> Clone for Texture<R, S> where
R: Resources + Clone, [src]
R: Resources + Clone,
fn clone(&self) -> Texture<R, S>
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