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> Clone for Texture<R, S> where
R: Resources + Clone,
[src]
R: Resources + Clone,
fn clone(&self) -> Texture<R, S>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
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,
[src]
__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[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
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
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<R, S> Debug for Texture<R, S> where
R: Resources + Debug,
[src]
R: Resources + Debug,
fn fmt(&self, __f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<R, S> Eq for Texture<R, S> where
R: Resources + Eq,
[src]
R: Resources + Eq,