pub struct CellQueryScratch { /* private fields */ }Expand description
Reusable scratch storage for allocation-aware cell queries.
Implementations§
Source§impl CellQueryScratch
impl CellQueryScratch
Sourcepub fn handles(&self) -> &[EntityHandle]
pub fn handles(&self) -> &[EntityHandle]
Returns handles produced by the last query.
Sourcepub const fn stats(&self) -> CellQueryStats
pub const fn stats(&self) -> CellQueryStats
Work counters produced by the last query.
Sourcepub fn handle_capacity(&self) -> usize
pub fn handle_capacity(&self) -> usize
Capacity retained for unique candidate handles.
Sourcepub fn dedup_capacity(&self) -> usize
pub fn dedup_capacity(&self) -> usize
Capacity retained by the candidate deduplication set.
Sourcepub fn matching_cell_capacity(&self) -> usize
pub fn matching_cell_capacity(&self) -> usize
Capacity retained for occupied cells matched by sparse queries.
Trait Implementations§
Source§impl Clone for CellQueryScratch
impl Clone for CellQueryScratch
Source§fn clone(&self) -> CellQueryScratch
fn clone(&self) -> CellQueryScratch
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 CellQueryScratch
impl Debug for CellQueryScratch
Source§impl Default for CellQueryScratch
impl Default for CellQueryScratch
Source§fn default() -> CellQueryScratch
fn default() -> CellQueryScratch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CellQueryScratch
impl RefUnwindSafe for CellQueryScratch
impl Send for CellQueryScratch
impl Sync for CellQueryScratch
impl Unpin for CellQueryScratch
impl UnsafeUnpin for CellQueryScratch
impl UnwindSafe for CellQueryScratch
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