[][src]Trait criterion_plot::traits::Set

pub trait Set<T> {
    fn set(&mut self, _: T) -> &mut Self;
}

Overloaded set method

Required methods

fn set(&mut self, _: T) -> &mut Self

Sets some property

Loading content...

Implementors

impl Set<Axes> for criterion_plot::curve::Properties
[src]

fn set(&mut self, axes: Axes) -> &mut Properties
[src]

Select the axes to plot against

Note By default, the BottomXLeftY axes are used

impl Set<Axes> for criterion_plot::filledcurve::Properties
[src]

fn set(&mut self, axes: Axes) -> &mut Properties
[src]

Select axes to plot against

Note By default, the BottomXLeftY axes are used

impl Set<Color> for criterion_plot::candlestick::Properties
[src]

fn set(&mut self, color: Color) -> &mut Properties
[src]

Sets the line color

impl Set<Color> for criterion_plot::curve::Properties
[src]

fn set(&mut self, color: Color) -> &mut Properties
[src]

Sets the line color

impl Set<Color> for criterion_plot::errorbar::Properties
[src]

fn set(&mut self, color: Color) -> &mut Properties
[src]

Changes the color of the error bars

impl Set<Color> for criterion_plot::filledcurve::Properties
[src]

fn set(&mut self, color: Color) -> &mut Properties
[src]

Sets the fill color

impl Set<LineType> for criterion_plot::candlestick::Properties
[src]

fn set(&mut self, lt: LineType) -> &mut Properties
[src]

Changes the line type

Note By default Solid lines are used

impl Set<LineType> for criterion_plot::curve::Properties
[src]

fn set(&mut self, lt: LineType) -> &mut Properties
[src]

Changes the line type

Note By default Solid lines are used

impl Set<LineType> for criterion_plot::errorbar::Properties
[src]

fn set(&mut self, lt: LineType) -> &mut Properties
[src]

Change the line type

Note By default Solid lines are used

impl Set<PointType> for criterion_plot::curve::Properties
[src]

fn set(&mut self, pt: PointType) -> &mut Properties
[src]

Changes the point type

impl Set<PointType> for criterion_plot::errorbar::Properties
[src]

fn set(&mut self, pt: PointType) -> &mut Properties
[src]

Changes the point type

impl Set<Range> for criterion_plot::axis::Properties
[src]

fn set(&mut self, range: Range) -> &mut Properties
[src]

Changes the range of the axis that will be shown

Note All axes are auto-scaled by default

impl Set<Scale> for criterion_plot::axis::Properties
[src]

fn set(&mut self, scale: Scale) -> &mut Properties
[src]

Sets the scale of the axis

Note All axes use a linear scale by default

impl Set<Terminal> for Figure
[src]

fn set(&mut self, terminal: Terminal) -> &mut Figure
[src]

Changes the output terminal

Note By default, the terminal is set to Svg

impl Set<Boxed> for criterion_plot::key::Properties
[src]

fn set(&mut self, boxed: Boxed) -> &mut Properties
[src]

Select if the key will be surrounded with a box or not

Note The key is not boxed by default

impl Set<Justification> for criterion_plot::key::Properties
[src]

fn set(&mut self, justification: Justification) -> &mut Properties
[src]

Changes the justification of the text of each entry

Note The text is RightJustified by default

impl Set<Order> for criterion_plot::key::Properties
[src]

fn set(&mut self, order: Order) -> &mut Properties
[src]

How to order each entry

Note The default order is TextSample

impl Set<Position> for criterion_plot::key::Properties
[src]

fn set(&mut self, position: Position) -> &mut Properties
[src]

Selects where to place the key

Note By default, the key is placed Inside(Vertical::Top, Horizontal::Right)

impl Set<Stacked> for criterion_plot::key::Properties
[src]

fn set(&mut self, stacked: Stacked) -> &mut Properties
[src]

Changes how the entries of the key are stacked

impl Set<BoxWidth> for Figure
[src]

fn set(&mut self, width: BoxWidth) -> &mut Figure
[src]

Changes the box width of all the box related plots (bars, candlesticks, etc)

Note The default value is 0

Panics

Panics if width is a negative value

impl Set<Font> for Figure
[src]

fn set(&mut self, font: Font) -> &mut Figure
[src]

Changes the font

impl Set<FontSize> for Figure
[src]

fn set(&mut self, size: FontSize) -> &mut Figure
[src]

Changes the size of the font

Panics

Panics if size is a non-positive value

impl Set<Label> for criterion_plot::axis::Properties
[src]

fn set(&mut self, label: Label) -> &mut Properties
[src]

Attaches a label to the axis

impl Set<Label> for criterion_plot::candlestick::Properties
[src]

fn set(&mut self, label: Label) -> &mut Properties
[src]

Sets the legend label

impl Set<Label> for criterion_plot::curve::Properties
[src]

fn set(&mut self, label: Label) -> &mut Properties
[src]

Sets the legend label

impl Set<Label> for criterion_plot::errorbar::Properties
[src]

fn set(&mut self, label: Label) -> &mut Properties
[src]

Sets the legend label

impl Set<Label> for criterion_plot::filledcurve::Properties
[src]

fn set(&mut self, label: Label) -> &mut Properties
[src]

Sets the legend label

impl Set<LineWidth> for criterion_plot::candlestick::Properties
[src]

fn set(&mut self, lw: LineWidth) -> &mut Properties
[src]

Changes the width of the line

Panics

Panics if width is a non-positive value

impl Set<LineWidth> for criterion_plot::curve::Properties
[src]

fn set(&mut self, lw: LineWidth) -> &mut Properties
[src]

Changes the width of the line

Panics

Panics if width is a non-positive value

impl Set<LineWidth> for criterion_plot::errorbar::Properties
[src]

fn set(&mut self, lw: LineWidth) -> &mut Properties
[src]

Changes the linewidth

Panics

Panics if lw is a non-positive value

impl Set<Opacity> for criterion_plot::filledcurve::Properties
[src]

fn set(&mut self, opacity: Opacity) -> &mut Properties
[src]

Changes the opacity of the fill color

Note By default, the fill color is totally opaque (opacity = 1.0)

Panics

Panics if opacity is outside the range [0, 1]

impl Set<Output> for Figure
[src]

fn set(&mut self, output: Output) -> &mut Figure
[src]

Changes the output file

Note The default output file is output.plot

impl Set<PointSize> for criterion_plot::curve::Properties
[src]

fn set(&mut self, ps: PointSize) -> &mut Properties
[src]

Changes the size of the points

Panics

Panics if size is a non-positive value

impl Set<PointSize> for criterion_plot::errorbar::Properties
[src]

fn set(&mut self, ps: PointSize) -> &mut Properties
[src]

Changes the size of the points

Panics

Panics if size is a non-positive value

impl Set<ScaleFactor> for criterion_plot::axis::Properties
[src]

fn set(&mut self, factor: ScaleFactor) -> &mut Properties
[src]

Changes the scale factor of the axis.

All the data plotted against this axis will have its corresponding coordinate scaled with this factor before being plotted.

Note The default scale factor is 1.

impl Set<Size> for Figure
[src]

fn set(&mut self, size: Size) -> &mut Figure
[src]

Changes the figure size

impl Set<Title> for criterion_plot::key::Properties
[src]

impl Set<Title> for Figure
[src]

fn set(&mut self, title: Title) -> &mut Figure
[src]

Sets the title

impl<P, L> Set<TicLabels<P, L>> for criterion_plot::axis::Properties where
    L: IntoIterator,
    L::Item: AsRef<str>,
    P: IntoIterator,
    P::Item: Data
[src]

fn set(&mut self, tics: TicLabels<P, L>) -> &mut Properties
[src]

Attaches labels to the tics of an axis

Loading content...