Struct aflak_imgui::AnyTexture [−][src]
pub struct AnyTexture(_);
A handle to a texture.
Wraps a fat pointer to an trait object ImTexture
.
Methods from Deref<Target = Box<ImTexture>>
Trait Implementations
impl Clone for AnyTexture
[src]
impl Clone for AnyTexture
fn clone(&self) -> AnyTexture
[src]
fn clone(&self) -> AnyTexture
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl ImTexture for AnyTexture
[src]
impl ImTexture for AnyTexture
fn get_id(&self) -> ImTextureID
[src]
fn get_id(&self) -> ImTextureID
Get ImTextureID
fn get_size(&self) -> (u32, u32)
[src]
fn get_size(&self) -> (u32, u32)
Query texture size, in pixels (for convenience)
impl Deref for AnyTexture
[src]
impl Deref for AnyTexture
Allows to directly use the methods implemnted on AnyTexture
Auto Trait Implementations
impl !Send for AnyTexture
impl !Send for AnyTexture
impl !Sync for AnyTexture
impl !Sync for AnyTexture