criterion_plot::filledcurve

Struct 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§

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§

type Properties = Properties

The properties associated to the plot
Source§

fn plot<F>(&mut self, fc: FilledCurve<X, Y1, Y2>, configure: F) -> &mut Figure
where F: FnOnce(&mut Properties) -> &mut Properties,

Plots some data with some configuration

Auto Trait Implementations§

§

impl<X, Y1, Y2> Freeze for FilledCurve<X, Y1, Y2>
where X: Freeze, Y1: Freeze, Y2: Freeze,

§

impl<X, Y1, Y2> RefUnwindSafe for FilledCurve<X, Y1, Y2>

§

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§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.