Struct lotus_script::graphics::textures::TextureHandle
source · pub struct TextureHandle(/* private fields */);
Expand description
A handle to a texture.
Implementations§
source§impl TextureHandle
impl TextureHandle
Trait Implementations§
source§impl Clone for TextureHandle
impl Clone for TextureHandle
source§fn clone(&self) -> TextureHandle
fn clone(&self) -> TextureHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TextureHandle
impl Debug for TextureHandle
source§impl<'de> Deserialize<'de> for TextureHandle
impl<'de> Deserialize<'de> for TextureHandle
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TextureHandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TextureHandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<TextureHandle> for DrawableTexture
impl From<TextureHandle> for DrawableTexture
source§fn from(handle: TextureHandle) -> Self
fn from(handle: TextureHandle) -> Self
Converts to this type from the input type.
source§impl Serialize for TextureHandle
impl Serialize for TextureHandle
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for TextureHandle
Auto Trait Implementations§
impl Freeze for TextureHandle
impl RefUnwindSafe for TextureHandle
impl Send for TextureHandle
impl Sync for TextureHandle
impl Unpin for TextureHandle
impl UnwindSafe for TextureHandle
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more