Struct criterion_plot::axis::Properties [−][src]
pub struct Properties { /* fields omitted */ }
Expand description
Properties of the coordinate axes
Implementations
Hides the axis
Note The TopX
and RightY
axes are hidden by default
Makes the axis visible
Note The BottomX
and LeftY
axes are visible by default
Trait Implementations
fn configure<F>(&mut self, grid: Grid, configure: F) -> &mut Properties where
F: FnOnce(&mut Properties) -> &mut Properties,
fn configure<F>(&mut self, grid: Grid, configure: F) -> &mut Properties where
F: FnOnce(&mut Properties) -> &mut Properties,
Configures the gridlines
type Properties = Properties
type Properties = Properties
The properties of what’s being configured
Attaches a label to the axis
Changes the range of the axis that will be shown
Note All axes are auto-scaled by default
Sets the scale of the axis
Note All axes use a linear scale by default
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<P, L> Set<TicLabels<P, L>> for Properties where
L: IntoIterator,
L::Item: AsRef<str>,
P: IntoIterator,
P::Item: Data,
impl<P, L> Set<TicLabels<P, L>> for Properties where
L: IntoIterator,
L::Item: AsRef<str>,
P: IntoIterator,
P::Item: Data,
Attaches labels to the tics of an axis
Auto Trait Implementations
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
Blanket Implementations
Mutably borrows from an owned value. Read more