pub struct GroupedAllocator { /* private fields */ }
Implementations§
Source§impl GroupedAllocator
impl GroupedAllocator
pub fn new() -> Self
pub fn add_group(&mut self, group: Vec<Arc<ManagedCore>>)
pub fn filter_group(&mut self, filter: impl Fn(&ManagedCore) -> bool)
Trait Implementations§
Source§impl CoreAllocator for GroupedAllocator
impl CoreAllocator for GroupedAllocator
fn allocate_core(&self) -> Option<CoreGroup>
Auto Trait Implementations§
impl Freeze for GroupedAllocator
impl RefUnwindSafe for GroupedAllocator
impl Send for GroupedAllocator
impl Sync for GroupedAllocator
impl Unpin for GroupedAllocator
impl UnwindSafe for GroupedAllocator
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