pub struct ContourPlotTryBuilder<'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 try_build().
Implementations§
Source§impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S: State> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S: State> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S>
Sourcepub fn try_build(self) -> Result<ContourPlot, PlotlarsError>where
S: IsComplete,
pub fn try_build(self) -> Result<ContourPlot, PlotlarsError>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn data(
self,
value: &'f1 DataFrame,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetData<S>>where
S::Data: IsUnset,
pub fn data(
self,
value: &'f1 DataFrame,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetData<S>>where
S::Data: IsUnset,
Required.
Sourcepub fn x(
self,
value: &'f2 str,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetX<S>>where
S::X: IsUnset,
pub fn x(
self,
value: &'f2 str,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetX<S>>where
S::X: IsUnset,
Required.
Sourcepub fn y(
self,
value: &'f3 str,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetY<S>>where
S::Y: IsUnset,
pub fn y(
self,
value: &'f3 str,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetY<S>>where
S::Y: IsUnset,
Required.
Sourcepub fn z(
self,
value: &'f4 str,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetZ<S>>where
S::Z: IsUnset,
pub fn z(
self,
value: &'f4 str,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetZ<S>>where
S::Z: IsUnset,
Required.
Sourcepub fn facet(
self,
value: &'f5 str,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetFacet<S>>where
S::Facet: IsUnset,
pub fn facet(
self,
value: &'f5 str,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetFacet<S>>where
S::Facet: IsUnset,
Sourcepub fn maybe_facet(
self,
value: Option<&'f5 str>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetFacet<S>>where
S::Facet: IsUnset,
pub fn maybe_facet(
self,
value: Option<&'f5 str>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetFacet<S>>where
S::Facet: IsUnset,
Sourcepub fn facet_config(
self,
value: &'f6 FacetConfig,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
pub fn facet_config(
self,
value: &'f6 FacetConfig,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
Sourcepub fn maybe_facet_config(
self,
value: Option<&'f6 FacetConfig>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
pub fn maybe_facet_config(
self,
value: Option<&'f6 FacetConfig>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
Sourcepub fn color_bar(
self,
value: &'f7 ColorBar,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColorBar<S>>where
S::ColorBar: IsUnset,
pub fn color_bar(
self,
value: &'f7 ColorBar,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColorBar<S>>where
S::ColorBar: IsUnset,
Sourcepub fn maybe_color_bar(
self,
value: Option<&'f7 ColorBar>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColorBar<S>>where
S::ColorBar: IsUnset,
pub fn maybe_color_bar(
self,
value: Option<&'f7 ColorBar>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColorBar<S>>where
S::ColorBar: IsUnset,
Sourcepub fn color_scale(
self,
value: Palette,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColorScale<S>>where
S::ColorScale: IsUnset,
pub fn color_scale(
self,
value: Palette,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColorScale<S>>where
S::ColorScale: IsUnset,
Sourcepub fn maybe_color_scale(
self,
value: Option<Palette>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColorScale<S>>where
S::ColorScale: IsUnset,
pub fn maybe_color_scale(
self,
value: Option<Palette>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColorScale<S>>where
S::ColorScale: IsUnset,
Sourcepub fn reverse_scale(
self,
value: bool,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetReverseScale<S>>where
S::ReverseScale: IsUnset,
pub fn reverse_scale(
self,
value: bool,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetReverseScale<S>>where
S::ReverseScale: IsUnset,
Sourcepub fn maybe_reverse_scale(
self,
value: Option<bool>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetReverseScale<S>>where
S::ReverseScale: IsUnset,
pub fn maybe_reverse_scale(
self,
value: Option<bool>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetReverseScale<S>>where
S::ReverseScale: IsUnset,
Sourcepub fn show_scale(
self,
value: bool,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetShowScale<S>>where
S::ShowScale: IsUnset,
pub fn show_scale(
self,
value: bool,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetShowScale<S>>where
S::ShowScale: IsUnset,
Sourcepub fn maybe_show_scale(
self,
value: Option<bool>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetShowScale<S>>where
S::ShowScale: IsUnset,
pub fn maybe_show_scale(
self,
value: Option<bool>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetShowScale<S>>where
S::ShowScale: IsUnset,
Sourcepub fn show_lines(
self,
value: bool,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetShowLines<S>>where
S::ShowLines: IsUnset,
pub fn show_lines(
self,
value: bool,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetShowLines<S>>where
S::ShowLines: IsUnset,
Sourcepub fn maybe_show_lines(
self,
value: Option<bool>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetShowLines<S>>where
S::ShowLines: IsUnset,
pub fn maybe_show_lines(
self,
value: Option<bool>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetShowLines<S>>where
S::ShowLines: IsUnset,
Sourcepub fn coloring(
self,
value: Coloring,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColoring<S>>where
S::Coloring: IsUnset,
pub fn coloring(
self,
value: Coloring,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColoring<S>>where
S::Coloring: IsUnset,
Sourcepub fn maybe_coloring(
self,
value: Option<Coloring>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColoring<S>>where
S::Coloring: IsUnset,
pub fn maybe_coloring(
self,
value: Option<Coloring>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetColoring<S>>where
S::Coloring: IsUnset,
Sourcepub fn plot_title(
self,
value: impl Into<Text>,
) -> ContourPlotTryBuilder<'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>,
) -> ContourPlotTryBuilder<'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>>,
) -> ContourPlotTryBuilder<'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>>,
) -> ContourPlotTryBuilder<'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>,
) -> ContourPlotTryBuilder<'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>,
) -> ContourPlotTryBuilder<'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>>,
) -> ContourPlotTryBuilder<'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>>,
) -> ContourPlotTryBuilder<'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>,
) -> ContourPlotTryBuilder<'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>,
) -> ContourPlotTryBuilder<'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>>,
) -> ContourPlotTryBuilder<'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>>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYTitle<S>>where
S::YTitle: IsUnset,
Sourcepub fn x_axis(
self,
value: &'f8 Axis,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXAxis<S>>where
S::XAxis: IsUnset,
pub fn x_axis(
self,
value: &'f8 Axis,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXAxis<S>>where
S::XAxis: IsUnset,
Sourcepub fn maybe_x_axis(
self,
value: Option<&'f8 Axis>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXAxis<S>>where
S::XAxis: IsUnset,
pub fn maybe_x_axis(
self,
value: Option<&'f8 Axis>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetXAxis<S>>where
S::XAxis: IsUnset,
Sourcepub fn y_axis(
self,
value: &'f9 Axis,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYAxis<S>>where
S::YAxis: IsUnset,
pub fn y_axis(
self,
value: &'f9 Axis,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYAxis<S>>where
S::YAxis: IsUnset,
Sourcepub fn maybe_y_axis(
self,
value: Option<&'f9 Axis>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYAxis<S>>where
S::YAxis: IsUnset,
pub fn maybe_y_axis(
self,
value: Option<&'f9 Axis>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetYAxis<S>>where
S::YAxis: IsUnset,
Sourcepub fn legend(
self,
value: &'f10 Legend,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetLegend<S>>where
S::Legend: IsUnset,
pub fn legend(
self,
value: &'f10 Legend,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetLegend<S>>where
S::Legend: IsUnset,
Sourcepub fn maybe_legend(
self,
value: Option<&'f10 Legend>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetLegend<S>>where
S::Legend: IsUnset,
pub fn maybe_legend(
self,
value: Option<&'f10 Legend>,
) -> ContourPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, SetLegend<S>>where
S::Legend: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 'f10, S> Freeze for ContourPlotTryBuilder<'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 ContourPlotTryBuilder<'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 ContourPlotTryBuilder<'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 ContourPlotTryBuilder<'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 ContourPlotTryBuilder<'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 ContourPlotTryBuilder<'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 ContourPlotTryBuilder<'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