pub struct AllocationTag { /* private fields */ }Expand description
A tag for categorizing allocations for budgeting and tracking.
Custom tags can be used to track memory usage by subsystem.
Implementations§
Source§impl AllocationTag
impl AllocationTag
Trait Implementations§
Source§impl Clone for AllocationTag
impl Clone for AllocationTag
Source§fn clone(&self) -> AllocationTag
fn clone(&self) -> AllocationTag
Returns a duplicate 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 AllocationTag
impl Debug for AllocationTag
Source§impl Hash for AllocationTag
impl Hash for AllocationTag
Source§impl PartialEq for AllocationTag
impl PartialEq for AllocationTag
impl Eq for AllocationTag
impl StructuralPartialEq for AllocationTag
Auto Trait Implementations§
impl Freeze for AllocationTag
impl RefUnwindSafe for AllocationTag
impl Send for AllocationTag
impl Sync for AllocationTag
impl Unpin for AllocationTag
impl UnwindSafe for AllocationTag
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