pub struct CellMigrationScratch { /* private fields */ }Expand description
Caller-owned working storage for repeated cell migration passes.
Implementations§
Source§impl CellMigrationScratch
impl CellMigrationScratch
Sourcepub fn reserve(&mut self, handles: usize, entities: usize)
pub fn reserve(&mut self, handles: usize, entities: usize)
Reserves deduplication and candidate storage for an expected pass size.
Sourcepub fn handle_capacity(&self) -> usize
pub fn handle_capacity(&self) -> usize
Retained handle-deduplication capacity.
Sourcepub fn entity_capacity(&self) -> usize
pub fn entity_capacity(&self) -> usize
Retained entity-deduplication capacity.
Sourcepub fn candidate_capacity(&self) -> usize
pub fn candidate_capacity(&self) -> usize
Retained candidate entity capacity.
Trait Implementations§
Source§impl Clone for CellMigrationScratch
impl Clone for CellMigrationScratch
Source§fn clone(&self) -> CellMigrationScratch
fn clone(&self) -> CellMigrationScratch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CellMigrationScratch
impl Debug for CellMigrationScratch
Source§impl Default for CellMigrationScratch
impl Default for CellMigrationScratch
Source§fn default() -> CellMigrationScratch
fn default() -> CellMigrationScratch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CellMigrationScratch
impl RefUnwindSafe for CellMigrationScratch
impl Send for CellMigrationScratch
impl Sync for CellMigrationScratch
impl Unpin for CellMigrationScratch
impl UnsafeUnpin for CellMigrationScratch
impl UnwindSafe for CellMigrationScratch
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