Skip to main content

Batched

Trait Batched 

Source
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§

Source

const SAMPLES: u64

Source

const MEASURES: &'static [&'static str]

Required Methods§

Source

fn measure(&self, visit: &mut dyn FnMut(f64))

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§