pub trait Batched: 'static {
const SAMPLES: u64;
const MEASURES: &'static [&'static str];
// Required method
fn measure(&self, visit: &mut dyn FnMut(f64));
}Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".