Struct gfx::handle::Texture
[−]
pub struct Texture<R, S>(_, _) where R: Resources;
Typed texture object
Methods
impl<R, S> Texture<R, S> where R: Resources
Trait Implementations
impl<R, S> Eq for Texture<R, S> where R: Resources + Eq, S: Eq
impl<R, S> Hash for Texture<R, S> where R: Resources + Hash, S: Hash
impl<R, S> Debug for Texture<R, S> where R: Resources + Debug, S: Debug
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<R, S> PartialEq<Texture<R, S>> for Texture<R, S> where R: Resources + PartialEq<R>,
S: PartialEq<S>
S: PartialEq<S>
fn eq(&self, __arg_0: &Texture<R, S>) -> 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, S>) -> bool
This method tests for !=
.
impl<R, S> Clone for Texture<R, S> where R: Resources + Clone, S: 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