[go: up one dir, main page]

Struct gfx::core::handle::RawTexture []

pub struct RawTexture<R>(_, _) where R: Resources;

Raw texture object

Methods

impl<R> RawTexture<R> where R: Resources

fn get_info(&self) -> &Descriptor

Get texture descriptor

Trait Implementations

impl<R> PartialEq<RawTexture<R>> for RawTexture<R> where R: Resources + PartialEq<R>, R::Texture: PartialEq<R::Texture>

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

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

This method tests for !=.

impl<R> Hash for RawTexture<R> where R: Resources + Hash, R::Texture: Hash

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

impl<R> Debug for RawTexture<R> where R: Resources + Debug, R::Texture: Debug

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

Formats the value using the given formatter.

impl<R> Clone for RawTexture<R> where R: Resources + Clone, R::Texture: Clone

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

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