pub struct HighContentionAllocator { /* private fields */ }
Expand description
Represents a High Contention Allocator for a given subspace
Implementations§
Source§impl HighContentionAllocator
impl HighContentionAllocator
Sourcepub fn new(subspace: Subspace) -> HighContentionAllocator
pub fn new(subspace: Subspace) -> HighContentionAllocator
Constructs an allocator that will use the input subspace for assigning values. The given subspace should not be used by anything other than the allocator
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for HighContentionAllocator
impl RefUnwindSafe for HighContentionAllocator
impl Send for HighContentionAllocator
impl Sync for HighContentionAllocator
impl Unpin for HighContentionAllocator
impl UnwindSafe for HighContentionAllocator
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