criterion_plot::traits

Trait Plot

Source
pub trait Plot<This> {
    type Properties;

    // Required method
    fn plot<F>(&mut self, this: This, function: F) -> &mut Self
       where F: FnOnce(&mut Self::Properties) -> &mut Self::Properties;
}
Expand description

Overloaded plot method

Required Associated Types§

Source

type Properties

The properties associated to the plot

Required Methods§

Source

fn plot<F>(&mut self, this: This, function: F) -> &mut Self
where F: FnOnce(&mut Self::Properties) -> &mut Self::Properties,

Plots some data with some configuration

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<X, WM, BM, BH, WH> Plot<Candlesticks<X, WM, BM, BH, WH>> for Figure
where BH: IntoIterator, BH::Item: Data, BM: IntoIterator, BM::Item: Data, WH: IntoIterator, WH::Item: Data, WM: IntoIterator, WM::Item: Data, X: IntoIterator, X::Item: Data,

Source§

impl<X, Y1, Y2> Plot<FilledCurve<X, Y1, Y2>> for Figure
where X: IntoIterator, X::Item: Data, Y1: IntoIterator, Y1::Item: Data, Y2: IntoIterator, Y2::Item: Data,

Source§

impl<X, Y> Plot<Curve<X, Y>> for Figure
where X: IntoIterator, X::Item: Data, Y: IntoIterator, Y::Item: Data,

Source§

impl<X, Y, L, H> Plot<ErrorBar<X, Y, L, H>> for Figure