pub struct WhnfCache { /* private fields */ }Expand description
A simple LRU-style cache for WHNF results.
Stores the most recently computed WHNF reductions to avoid redundant work when the same expression appears multiple times.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WhnfCache
impl RefUnwindSafe for WhnfCache
impl Send for WhnfCache
impl Sync for WhnfCache
impl Unpin for WhnfCache
impl UnsafeUnpin for WhnfCache
impl UnwindSafe for WhnfCache
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