pub struct FilledCurve<X, Y1, Y2> {
pub x: X,
pub y1: Y1,
pub y2: Y2,
}
Expand description
Fills the area between two curves
Fields§
§x: X
X coordinate of the data points of both curves
y1: Y1
Y coordinate of the data points of the first curve
y2: Y2
Y coordinate of the data points of the second curve
Trait Implementations§
Source§impl<X, Y1, Y2> Plot<FilledCurve<X, Y1, Y2>> for Figurewhere
X: IntoIterator,
X::Item: Data,
Y1: IntoIterator,
Y1::Item: Data,
Y2: IntoIterator,
Y2::Item: Data,
impl<X, Y1, Y2> Plot<FilledCurve<X, Y1, Y2>> for Figurewhere
X: IntoIterator,
X::Item: Data,
Y1: IntoIterator,
Y1::Item: Data,
Y2: IntoIterator,
Y2::Item: Data,
Source§type Properties = Properties
type Properties = Properties
The properties associated to the plot
Source§fn plot<F>(&mut self, fc: FilledCurve<X, Y1, Y2>, configure: F) -> &mut Figure
fn plot<F>(&mut self, fc: FilledCurve<X, Y1, Y2>, configure: F) -> &mut Figure
Plots some
data
with some configuration
Auto Trait Implementations§
impl<X, Y1, Y2> Freeze for FilledCurve<X, Y1, Y2>
impl<X, Y1, Y2> RefUnwindSafe for FilledCurve<X, Y1, Y2>
impl<X, Y1, Y2> Send for FilledCurve<X, Y1, Y2>
impl<X, Y1, Y2> Sync for FilledCurve<X, Y1, Y2>
impl<X, Y1, Y2> Unpin for FilledCurve<X, Y1, Y2>
impl<X, Y1, Y2> UnwindSafe for FilledCurve<X, Y1, Y2>
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 moreLayout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.