pub struct Metrics<E>where
E: Evaluator,{
pub modules: HashSet<E::Id>,
/* private fields */
}Available on crate feature
std only.Expand description
An Evaluator adapter that collects metrics during evaluation.
Fields§
§modules: HashSet<E::Id>Set of all evaluated modules.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for Metrics<E>where
E: Freeze,
impl<E> RefUnwindSafe for Metrics<E>
impl<E> Send for Metrics<E>
impl<E> Sync for Metrics<E>
impl<E> Unpin for Metrics<E>
impl<E> UnsafeUnpin for Metrics<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for Metrics<E>
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