pub struct Properties { /* private fields */ }
Expand description
Properties common to filled curve plots
Implementations§
Source§impl Properties
impl Properties
Sourcepub fn axes(&mut self, axes: Axes) -> &mut Properties
pub fn axes(&mut self, axes: Axes) -> &mut Properties
Select axes to plot against
Note By default, the BottomXLeftY
axes are used
Sourcepub fn color(&mut self, color: Color) -> &mut Properties
pub fn color(&mut self, color: Color) -> &mut Properties
Sets the fill color
Sourcepub fn label<S>(&mut self, label: S) -> &mut Properties
pub fn label<S>(&mut self, label: S) -> &mut Properties
Sets the legend label
Sourcepub fn opacity(&mut self, opacity: f64) -> &mut Properties
pub fn opacity(&mut self, opacity: f64) -> &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 Freeze for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more