Enum arcdps_imgui::TreeNodeId
source · pub enum TreeNodeId<T> {
Str(T),
Ptr(*const c_void),
}
Expand description
Unique ID used by tree nodes
Variants§
Trait Implementations§
source§impl<T: Clone> Clone for TreeNodeId<T>
impl<T: Clone> Clone for TreeNodeId<T>
source§fn clone(&self) -> TreeNodeId<T>
fn clone(&self) -> TreeNodeId<T>
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<T: Debug> Debug for TreeNodeId<T>
impl<T: Debug> Debug for TreeNodeId<T>
source§impl<T> From<*const T> for TreeNodeId<T>
impl<T> From<*const T> for TreeNodeId<T>
source§impl<T> From<*mut T> for TreeNodeId<T>
impl<T> From<*mut T> for TreeNodeId<T>
source§impl<T: PartialEq> PartialEq for TreeNodeId<T>
impl<T: PartialEq> PartialEq for TreeNodeId<T>
impl<T: Copy> Copy for TreeNodeId<T>
impl<T: Eq> Eq for TreeNodeId<T>
impl<T> StructuralPartialEq for TreeNodeId<T>
Auto Trait Implementations§
impl<T> Freeze for TreeNodeId<T>where
T: Freeze,
impl<T> RefUnwindSafe for TreeNodeId<T>where
T: RefUnwindSafe,
impl<T> !Send for TreeNodeId<T>
impl<T> !Sync for TreeNodeId<T>
impl<T> Unpin for TreeNodeId<T>where
T: Unpin,
impl<T> UnwindSafe for TreeNodeId<T>where
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)