pub struct InferStats {
pub infer_calls: usize,
pub whnf_calls: usize,
pub def_eq_calls: usize,
pub const_lookups: usize,
pub cache_hits: usize,
}Expand description
Statistics collected during type inference.
Fields§
§infer_calls: usizeNumber of types inferred.
whnf_calls: usizeNumber of WHNF reductions performed.
def_eq_calls: usizeNumber of definitional equality checks.
const_lookups: usizeNumber of constant lookups.
cache_hits: usizeNumber of cache hits.
Implementations§
Trait Implementations§
Source§impl Clone for InferStats
impl Clone for InferStats
Source§impl Debug for InferStats
impl Debug for InferStats
Auto Trait Implementations§
impl Forget for InferStats
impl Freeze for InferStats
impl Move for InferStats
impl RefUnwindSafe for InferStats
impl Send for InferStats
impl Sync for InferStats
impl Unpin for InferStats
impl UnsafeUnpin for InferStats
impl UnwindSafe for InferStats
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