From 837b550238aa671a591ccf282dddeab29cadb206 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:42 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/criterion-plot/src/curve.rs | 273 +++++++++++++++++++++++++++++++++++++ 1 file changed, 273 insertions(+) create mode 100755 vendor/criterion-plot/src/curve.rs (limited to 'vendor/criterion-plot/src/curve.rs') diff --git a/vendor/criterion-plot/src/curve.rs b/vendor/criterion-plot/src/curve.rs new file mode 100755 index 000000000..a5766ee56 --- /dev/null +++ b/vendor/criterion-plot/src/curve.rs @@ -0,0 +1,273 @@ +//! Simple "curve" like plots + +use std::borrow::Cow; +use std::iter::IntoIterator; + +use crate::data::Matrix; +use crate::traits::{self, Data, Set}; +use crate::{ + Axes, Color, CurveDefault, Display, Figure, Label, LineType, LineWidth, Plot, PointSize, + PointType, Script, +}; + +/// Properties common to simple "curve" like plots +pub struct Properties { + axes: Option, + color: Option, + label: Option>, + line_type: LineType, + linewidth: Option, + point_type: Option, + point_size: Option, + style: Style, +} + +impl CurveDefault