pub struct ResidentIfdsScratch<R> { /* private fields */ }Expand description
Reusable resident IFDS scratch buffers.
Implementations§
Source§impl<R> ResidentIfdsScratch<R>
impl<R> ResidentIfdsScratch<R>
Sourcepub fn frontier_words(&self) -> usize
pub fn frontier_words(&self) -> usize
Number of u32 words in the scratch frontier bitset.
Sourcepub fn frontier_byte_len(&self) -> usize
pub fn frontier_byte_len(&self) -> usize
Number of bytes in the scratch frontier buffer.
Sourcepub fn changed_byte_len(&self) -> usize
pub fn changed_byte_len(&self) -> usize
Number of bytes in the reusable changed-flag buffer.
Sourcepub fn max_seed_facts(&self) -> usize
pub fn max_seed_facts(&self) -> usize
Maximum flattened seed facts this scratch can stage without allocating temporary resident seed buffers.
Sourcepub fn retained_bytes(&self) -> usize
pub fn retained_bytes(&self) -> usize
Total resident bytes retained by this reusable single-query scratch set.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for ResidentIfdsScratch<R>where
R: Freeze,
impl<R> RefUnwindSafe for ResidentIfdsScratch<R>where
R: RefUnwindSafe,
impl<R> Send for ResidentIfdsScratch<R>where
R: Send,
impl<R> Sync for ResidentIfdsScratch<R>where
R: Sync,
impl<R> Unpin for ResidentIfdsScratch<R>where
R: Unpin,
impl<R> UnsafeUnpin for ResidentIfdsScratch<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for ResidentIfdsScratch<R>where
R: UnwindSafe,
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