Struct gfx::handle::RawTexture
[−]
[src]
pub struct RawTexture<R>(_, _)
where
R: Resources;
Raw texture object
Methods
impl<R> RawTexture<R> where
R: Resources,
[src]
R: Resources,
pub fn get_info(&self) -> &Descriptor
[src]
Get texture descriptor
Trait Implementations
impl<R> PartialEq<RawTexture<R>> for RawTexture<R> where
R: Resources + PartialEq<R>,
<R as Resources>::Texture: PartialEq<<R as Resources>::Texture>,
[src]
R: Resources + PartialEq<R>,
<R as Resources>::Texture: PartialEq<<R as Resources>::Texture>,
fn eq(&self, __arg_0: &RawTexture<R>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RawTexture<R>) -> bool
[src]
This method tests for !=
.
impl<R> Hash for RawTexture<R> where
R: Resources + Hash,
<R as Resources>::Texture: Hash,
[src]
R: Resources + Hash,
<R as Resources>::Texture: Hash,
fn hash<__HR>(&self, __arg_0: &mut __HR) where
__HR: Hasher,
[src]
__HR: 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> Debug for RawTexture<R> where
R: Resources + Debug,
<R as Resources>::Texture: Debug,
[src]
R: Resources + Debug,
<R as Resources>::Texture: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<R> Clone for RawTexture<R> where
R: Resources + Clone,
<R as Resources>::Texture: Clone,
[src]
R: Resources + Clone,
<R as Resources>::Texture: Clone,
fn clone(&self) -> RawTexture<R>
[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