Struct criterion_plot::filledcurve::FilledCurve
source · [−]pub struct FilledCurve<X, Y1, Y2> {
pub x: X,
pub y1: Y1,
pub y2: Y2,
}
Expand description
Fills the area between two curves
Fields
x: X
X coordinate of the data points of both curves
y1: Y1
Y coordinate of the data points of the first curve
y2: Y2
Y coordinate of the data points of the second curve
Trait Implementations
sourceimpl<X, Y1, Y2> Plot<FilledCurve<X, Y1, Y2>> for Figurewhere
X: IntoIterator,
X::Item: Data,
Y1: IntoIterator,
Y1::Item: Data,
Y2: IntoIterator,
Y2::Item: Data,
impl<X, Y1, Y2> Plot<FilledCurve<X, Y1, Y2>> for Figurewhere
X: IntoIterator,
X::Item: Data,
Y1: IntoIterator,
Y1::Item: Data,
Y2: IntoIterator,
Y2::Item: Data,
type Properties = Properties
type Properties = Properties
The properties associated to the plot
sourcefn plot<F>(&mut self, fc: FilledCurve<X, Y1, Y2>, configure: F) -> &mut Figurewhere
F: FnOnce(&mut Properties) -> &mut Properties,
fn plot<F>(&mut self, fc: FilledCurve<X, Y1, Y2>, configure: F) -> &mut Figurewhere
F: FnOnce(&mut Properties) -> &mut Properties,
Plots some data
with some configuration
Auto Trait Implementations
impl<X, Y1, Y2> RefUnwindSafe for FilledCurve<X, Y1, Y2>where
X: RefUnwindSafe,
Y1: RefUnwindSafe,
Y2: RefUnwindSafe,
impl<X, Y1, Y2> Send for FilledCurve<X, Y1, Y2>where
X: Send,
Y1: Send,
Y2: Send,
impl<X, Y1, Y2> Sync for FilledCurve<X, Y1, Y2>where
X: Sync,
Y1: Sync,
Y2: Sync,
impl<X, Y1, Y2> Unpin for FilledCurve<X, Y1, Y2>where
X: Unpin,
Y1: Unpin,
Y2: Unpin,
impl<X, Y1, Y2> UnwindSafe for FilledCurve<X, Y1, Y2>where
X: UnwindSafe,
Y1: UnwindSafe,
Y2: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more