pub struct AllocationGroupId(/* private fields */);
Expand description
The identifier that uniquely identifiers an allocation group.
Implementations§
Source§impl AllocationGroupId
impl AllocationGroupId
Sourcepub const ROOT: Self
pub const ROOT: Self
The group ID used for allocations which are not made within a registered allocation group.
Sourcepub const fn as_usize(&self) -> NonZeroUsize
pub const fn as_usize(&self) -> NonZeroUsize
Gets the integer representation of this group ID.
Trait Implementations§
Source§impl Clone for AllocationGroupId
impl Clone for AllocationGroupId
Source§fn clone(&self) -> AllocationGroupId
fn clone(&self) -> AllocationGroupId
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 AllocationGroupId
impl Debug for AllocationGroupId
Source§impl Hash for AllocationGroupId
impl Hash for AllocationGroupId
Source§impl PartialEq for AllocationGroupId
impl PartialEq for AllocationGroupId
impl Eq for AllocationGroupId
impl StructuralPartialEq for AllocationGroupId
Auto Trait Implementations§
impl Freeze for AllocationGroupId
impl RefUnwindSafe for AllocationGroupId
impl Send for AllocationGroupId
impl Sync for AllocationGroupId
impl Unpin for AllocationGroupId
impl UnwindSafe for AllocationGroupId
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