Struct criterion_plot::ScaleFactor
source · [−]pub struct ScaleFactor(pub f64);
Expand description
Axis scale factor
Tuple Fields
0: f64
Trait Implementations
sourceimpl Clone for ScaleFactor
impl Clone for ScaleFactor
sourcefn clone(&self) -> ScaleFactor
fn clone(&self) -> ScaleFactor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Set<ScaleFactor> for Properties
impl Set<ScaleFactor> for Properties
sourcefn set(&mut self, factor: ScaleFactor) -> &mut Properties
fn set(&mut self, factor: ScaleFactor) -> &mut Properties
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 Copy for ScaleFactor
Auto Trait Implementations
impl RefUnwindSafe for ScaleFactor
impl Send for ScaleFactor
impl Sync for ScaleFactor
impl Unpin for ScaleFactor
impl UnwindSafe for ScaleFactor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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