pub struct CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S: State> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S: State> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
Sourcepub fn build(self) -> CandlestickPlotwhere
S: IsComplete,
pub fn build(self) -> CandlestickPlotwhere
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn data(
self,
value: &'f1 DataFrame,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetData<S>>where
S::Data: IsUnset,
pub fn data(
self,
value: &'f1 DataFrame,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetData<S>>where
S::Data: IsUnset,
Required.
Sourcepub fn dates(
self,
value: &'f2 str,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetDates<S>>where
S::Dates: IsUnset,
pub fn dates(
self,
value: &'f2 str,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetDates<S>>where
S::Dates: IsUnset,
Required.
Sourcepub fn open(
self,
value: &'f3 str,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetOpen<S>>where
S::Open: IsUnset,
pub fn open(
self,
value: &'f3 str,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetOpen<S>>where
S::Open: IsUnset,
Required.
Sourcepub fn high(
self,
value: &'f4 str,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetHigh<S>>where
S::High: IsUnset,
pub fn high(
self,
value: &'f4 str,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetHigh<S>>where
S::High: IsUnset,
Required.
Sourcepub fn low(
self,
value: &'f5 str,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetLow<S>>where
S::Low: IsUnset,
pub fn low(
self,
value: &'f5 str,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetLow<S>>where
S::Low: IsUnset,
Required.
Sourcepub fn close(
self,
value: &'f6 str,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetClose<S>>where
S::Close: IsUnset,
pub fn close(
self,
value: &'f6 str,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetClose<S>>where
S::Close: IsUnset,
Required.
Sourcepub fn increasing(
self,
value: &'f7 Direction,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetIncreasing<S>>where
S::Increasing: IsUnset,
pub fn increasing(
self,
value: &'f7 Direction,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetIncreasing<S>>where
S::Increasing: IsUnset,
Sourcepub fn maybe_increasing(
self,
value: Option<&'f7 Direction>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetIncreasing<S>>where
S::Increasing: IsUnset,
pub fn maybe_increasing(
self,
value: Option<&'f7 Direction>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetIncreasing<S>>where
S::Increasing: IsUnset,
Sourcepub fn decreasing(
self,
value: &'f8 Direction,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetDecreasing<S>>where
S::Decreasing: IsUnset,
pub fn decreasing(
self,
value: &'f8 Direction,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetDecreasing<S>>where
S::Decreasing: IsUnset,
Sourcepub fn maybe_decreasing(
self,
value: Option<&'f8 Direction>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetDecreasing<S>>where
S::Decreasing: IsUnset,
pub fn maybe_decreasing(
self,
value: Option<&'f8 Direction>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetDecreasing<S>>where
S::Decreasing: IsUnset,
Sourcepub fn whisker_width(
self,
value: f64,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetWhiskerWidth<S>>where
S::WhiskerWidth: IsUnset,
pub fn whisker_width(
self,
value: f64,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetWhiskerWidth<S>>where
S::WhiskerWidth: IsUnset,
Sourcepub fn maybe_whisker_width(
self,
value: Option<f64>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetWhiskerWidth<S>>where
S::WhiskerWidth: IsUnset,
pub fn maybe_whisker_width(
self,
value: Option<f64>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetWhiskerWidth<S>>where
S::WhiskerWidth: IsUnset,
Sourcepub fn plot_title(
self,
value: impl Into<Text>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn plot_title(
self,
value: impl Into<Text>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn x_title(
self,
value: impl Into<Text>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXTitle<S>>where
S::XTitle: IsUnset,
pub fn x_title(
self,
value: impl Into<Text>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXTitle<S>>where
S::XTitle: IsUnset,
Sourcepub fn maybe_x_title(
self,
value: Option<impl Into<Text>>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXTitle<S>>where
S::XTitle: IsUnset,
pub fn maybe_x_title(
self,
value: Option<impl Into<Text>>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXTitle<S>>where
S::XTitle: IsUnset,
Sourcepub fn y_title(
self,
value: impl Into<Text>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYTitle<S>>where
S::YTitle: IsUnset,
pub fn y_title(
self,
value: impl Into<Text>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYTitle<S>>where
S::YTitle: IsUnset,
Sourcepub fn maybe_y_title(
self,
value: Option<impl Into<Text>>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYTitle<S>>where
S::YTitle: IsUnset,
pub fn maybe_y_title(
self,
value: Option<impl Into<Text>>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYTitle<S>>where
S::YTitle: IsUnset,
Sourcepub fn x_axis(
self,
value: &'f9 Axis,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXAxis<S>>where
S::XAxis: IsUnset,
pub fn x_axis(
self,
value: &'f9 Axis,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXAxis<S>>where
S::XAxis: IsUnset,
Sourcepub fn maybe_x_axis(
self,
value: Option<&'f9 Axis>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXAxis<S>>where
S::XAxis: IsUnset,
pub fn maybe_x_axis(
self,
value: Option<&'f9 Axis>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXAxis<S>>where
S::XAxis: IsUnset,
Sourcepub fn y_axis(
self,
value: &'f10 Axis,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYAxis<S>>where
S::YAxis: IsUnset,
pub fn y_axis(
self,
value: &'f10 Axis,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYAxis<S>>where
S::YAxis: IsUnset,
Sourcepub fn maybe_y_axis(
self,
value: Option<&'f10 Axis>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYAxis<S>>where
S::YAxis: IsUnset,
pub fn maybe_y_axis(
self,
value: Option<&'f10 Axis>,
) -> CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYAxis<S>>where
S::YAxis: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S> Freeze for CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S = Empty> !RefUnwindSafe for CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S> Send for CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S> Sync for CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S> Unpin for CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S> UnsafeUnpin for CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S = Empty> !UnwindSafe for CandlestickPlotBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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