pub struct CellIndexUpdateScratch { /* private fields */ }Expand description
Caller-owned storage for allocation-light multi-cell membership changes.
Implementations§
Source§impl CellIndexUpdateScratch
impl CellIndexUpdateScratch
Sourcepub fn retained_cell_capacity(&self) -> usize
pub fn retained_cell_capacity(&self) -> usize
Cell-coordinate capacity retained for the next membership change.
Sourcepub fn reclaim_retained_capacity(&mut self)
pub fn reclaim_retained_capacity(&mut self)
Releases unused retained cell-coordinate storage.
Trait Implementations§
Source§impl Clone for CellIndexUpdateScratch
impl Clone for CellIndexUpdateScratch
Source§fn clone(&self) -> CellIndexUpdateScratch
fn clone(&self) -> CellIndexUpdateScratch
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 CellIndexUpdateScratch
impl Debug for CellIndexUpdateScratch
Source§impl Default for CellIndexUpdateScratch
impl Default for CellIndexUpdateScratch
Source§fn default() -> CellIndexUpdateScratch
fn default() -> CellIndexUpdateScratch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CellIndexUpdateScratch
impl RefUnwindSafe for CellIndexUpdateScratch
impl Send for CellIndexUpdateScratch
impl Sync for CellIndexUpdateScratch
impl Unpin for CellIndexUpdateScratch
impl UnsafeUnpin for CellIndexUpdateScratch
impl UnwindSafe for CellIndexUpdateScratch
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