pub struct EtaChecker { /* private fields */ }Expand description
A simple memoised eta-normal-form checker.
Implementations§
Source§impl EtaChecker
impl EtaChecker
Sourcepub fn is_eta_normal(&mut self, hash: u64) -> EtaOutcome
pub fn is_eta_normal(&mut self, hash: u64) -> EtaOutcome
Checks whether hash is eta-normal, using the cache.
Sourcepub fn success_rate(&self) -> f64
pub fn success_rate(&self) -> f64
Returns the success rate from the log.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EtaChecker
impl RefUnwindSafe for EtaChecker
impl Send for EtaChecker
impl Sync for EtaChecker
impl Unpin for EtaChecker
impl UnsafeUnpin for EtaChecker
impl UnwindSafe for EtaChecker
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