[][src]Enum criterion_plot::curve::Curve

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,
    },
}

Types of "curve" plots

Variants

Dots

A minimally sized dot on each data point

Fields of Dots

x: X

X coordinate of the data points

y: Y

Y coordinate of the data points

Impulses

A vertical "impulse" on each data point

Fields of Impulses

x: X

X coordinate of the data points

y: Y

Y coordinate of the data points

Lines

Line that joins the data points

Fields of Lines

x: X

X coordinate of the data points

y: Y

Y coordinate of the data points

LinesPoints

Line with a point on each data point

Fields of LinesPoints

x: X

X coordinate of the data points

y: Y

Y coordinate of the data points

Points

A point on each data point

Fields of Points

x: X

X coordinate of the data points

y: Y

Y coordinate of the data points

Steps

An step _| between each data point

Fields of Steps

x: X

X coordinate of the data points

y: Y

Y coordinate of the data points

Trait Implementations

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

type Properties = Properties

The properties associated to the plot

Auto Trait Implementations

impl<X, Y> RefUnwindSafe for Curve<X, Y> where
    X: RefUnwindSafe,
    Y: RefUnwindSafe

impl<X, Y> Send for Curve<X, Y> where
    X: Send,
    Y: Send

impl<X, Y> Sync for Curve<X, Y> where
    X: Sync,
    Y: Sync

impl<X, Y> Unpin for Curve<X, Y> where
    X: Unpin,
    Y: Unpin

impl<X, Y> UnwindSafe for Curve<X, Y> where
    X: UnwindSafe,
    Y: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.