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§fn clone(&self) -> InferStats
fn clone(&self) -> InferStats
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 InferStats
impl Debug for InferStats
Source§impl Default for InferStats
impl Default for InferStats
Source§fn default() -> InferStats
fn default() -> InferStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze 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