1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Benchmark output formats. mod dat; mod stdout; pub use crate::format::dat::DatFormat; pub use crate::format::stdout::StdoutFormat; use crate::bench::Results; /// Trait for displaying the benchmark results. pub trait Format { /// Output the benchmark results. fn format(&self, results: &[Results]); }