Struct criterion_plot::filledcurve::Properties
source · [−]pub struct Properties { /* private fields */ }
Expand description
Properties common to filled curve plots
Trait Implementations
sourceimpl Set<Axes> for Properties
impl Set<Axes> for Properties
sourcefn set(&mut self, axes: Axes) -> &mut Properties
fn set(&mut self, axes: Axes) -> &mut Properties
Select axes to plot against
Note By default, the BottomXLeftY
axes are used
sourceimpl Set<Color> for Properties
impl Set<Color> for Properties
sourcefn set(&mut self, color: Color) -> &mut Properties
fn set(&mut self, color: Color) -> &mut Properties
Sets the fill color
sourceimpl Set<Label> for Properties
impl Set<Label> for Properties
sourcefn set(&mut self, label: Label) -> &mut Properties
fn set(&mut self, label: Label) -> &mut Properties
Sets the legend label
sourceimpl Set<Opacity> for Properties
impl Set<Opacity> for Properties
sourcefn set(&mut self, opacity: Opacity) -> &mut Properties
fn set(&mut self, opacity: Opacity) -> &mut Properties
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]
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
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