pub struct ManagedTextureId(/* private fields */);Expand description
Stable identifier for an ImGui-managed texture.
This wraps Dear ImGui’s ImTextureData::UniqueID. It is intended for correlating detached
texture requests with renderer feedback, not as a renderer texture handle. Use TextureId for
backend-owned GPU texture identifiers.
Implementations§
Trait Implementations§
Source§impl Clone for ManagedTextureId
impl Clone for ManagedTextureId
Source§fn clone(&self) -> ManagedTextureId
fn clone(&self) -> ManagedTextureId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ManagedTextureId
impl Debug for ManagedTextureId
Source§impl Hash for ManagedTextureId
impl Hash for ManagedTextureId
Source§impl PartialEq for ManagedTextureId
impl PartialEq for ManagedTextureId
Source§fn eq(&self, other: &ManagedTextureId) -> bool
fn eq(&self, other: &ManagedTextureId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ManagedTextureId
impl Eq for ManagedTextureId
impl StructuralPartialEq for ManagedTextureId
Auto Trait Implementations§
impl Freeze for ManagedTextureId
impl RefUnwindSafe for ManagedTextureId
impl Send for ManagedTextureId
impl Sync for ManagedTextureId
impl Unpin for ManagedTextureId
impl UnsafeUnpin for ManagedTextureId
impl UnwindSafe for ManagedTextureId
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