pub struct LazyCache {
pub pred_data_hashes: OnceLock<HashSet<Hash>>,
}Expand description
Lazily cache expensive to compute values.
Fields§
§pred_data_hashes: OnceLock<HashSet<Hash>>Predicate data and addresses set of hashes.
See PredicateExists for more details.
Implementations§
Trait Implementations§
impl StructuralPartialEq for LazyCache
Auto Trait Implementations§
impl !Freeze for LazyCache
impl RefUnwindSafe for LazyCache
impl Send for LazyCache
impl Sync for LazyCache
impl Unpin for LazyCache
impl UnwindSafe for LazyCache
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