pub struct WhnfCacheKey {
pub expr_hash: u64,
}Expand description
A cache key for memoizing WHNF results.
Fields§
§expr_hash: u64Structural hash of the input expression.
Implementations§
Trait Implementations§
Source§impl Clone for WhnfCacheKey
impl Clone for WhnfCacheKey
Source§fn clone(&self) -> WhnfCacheKey
fn clone(&self) -> WhnfCacheKey
Returns a duplicate of the value. Read more
1.0.0 · 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 WhnfCacheKey
impl Debug for WhnfCacheKey
Source§impl Hash for WhnfCacheKey
impl Hash for WhnfCacheKey
Source§impl PartialEq for WhnfCacheKey
impl PartialEq for WhnfCacheKey
impl Eq for WhnfCacheKey
impl StructuralPartialEq for WhnfCacheKey
Auto Trait Implementations§
impl Freeze for WhnfCacheKey
impl RefUnwindSafe for WhnfCacheKey
impl Send for WhnfCacheKey
impl Sync for WhnfCacheKey
impl Unpin for WhnfCacheKey
impl UnsafeUnpin for WhnfCacheKey
impl UnwindSafe for WhnfCacheKey
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