Enum criterion_plot::curve::Curve [−][src]
pub enum Curve<X, Y> { Dots { x: X, y: Y, }, Impulses { x: X, y: Y, }, Lines { x: X, y: Y, }, LinesPoints { x: X, y: Y, }, Points { x: X, y: Y, }, Steps { x: X, y: Y, }, }
Expand description
Types of “curve” plots
Variants
A minimally sized dot on each data point
A vertical “impulse” on each data point
Line that joins the data points
Line with a point on each data point
A point on each data point
An step _|
between each data point
Trait Implementations
impl<X, Y> Plot<Curve<X, Y>> for Figure where
X: IntoIterator,
X::Item: Data,
Y: IntoIterator,
Y::Item: Data,
impl<X, Y> Plot<Curve<X, Y>> for Figure where
X: IntoIterator,
X::Item: Data,
Y: IntoIterator,
Y::Item: Data,
type Properties = Properties
type Properties = Properties
The properties associated to the plot
fn plot<F>(&mut self, curve: Curve<X, Y>, configure: F) -> &mut Figure where
F: FnOnce(&mut Properties) -> &mut Properties,
fn plot<F>(&mut self, curve: Curve<X, Y>, configure: F) -> &mut Figure where
F: FnOnce(&mut Properties) -> &mut Properties,
Plots some data
with some configuration
Auto Trait Implementations
impl<X, Y> RefUnwindSafe for Curve<X, Y> where
X: RefUnwindSafe,
Y: RefUnwindSafe,
impl<X, Y> UnwindSafe for Curve<X, Y> where
X: UnwindSafe,
Y: UnwindSafe,