pub struct HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 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, S: State> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S: State> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
Sourcepub fn build(self) -> HeatMapwhere
S: IsComplete,
pub fn build(self) -> HeatMapwhere
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn data(
self,
value: &'f1 DataFrame,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetData<S>>where
S::Data: IsUnset,
pub fn data(
self,
value: &'f1 DataFrame,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetData<S>>where
S::Data: IsUnset,
Required.
Sourcepub fn x(
self,
value: &'f2 str,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetX<S>>where
S::X: IsUnset,
pub fn x(
self,
value: &'f2 str,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetX<S>>where
S::X: IsUnset,
Required.
Sourcepub fn y(
self,
value: &'f3 str,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetY<S>>where
S::Y: IsUnset,
pub fn y(
self,
value: &'f3 str,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetY<S>>where
S::Y: IsUnset,
Required.
Sourcepub fn z(
self,
value: &'f4 str,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetZ<S>>where
S::Z: IsUnset,
pub fn z(
self,
value: &'f4 str,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetZ<S>>where
S::Z: IsUnset,
Required.
Sourcepub fn facet(
self,
value: &'f5 str,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacet<S>>where
S::Facet: IsUnset,
pub fn facet(
self,
value: &'f5 str,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacet<S>>where
S::Facet: IsUnset,
Sourcepub fn maybe_facet(
self,
value: Option<&'f5 str>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacet<S>>where
S::Facet: IsUnset,
pub fn maybe_facet(
self,
value: Option<&'f5 str>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacet<S>>where
S::Facet: IsUnset,
Sourcepub fn facet_config(
self,
value: &'f6 FacetConfig,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
pub fn facet_config(
self,
value: &'f6 FacetConfig,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
Sourcepub fn maybe_facet_config(
self,
value: Option<&'f6 FacetConfig>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
pub fn maybe_facet_config(
self,
value: Option<&'f6 FacetConfig>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
Sourcepub fn auto_color_scale(
self,
value: bool,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetAutoColorScale<S>>where
S::AutoColorScale: IsUnset,
pub fn auto_color_scale(
self,
value: bool,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetAutoColorScale<S>>where
S::AutoColorScale: IsUnset,
Sourcepub fn maybe_auto_color_scale(
self,
value: Option<bool>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetAutoColorScale<S>>where
S::AutoColorScale: IsUnset,
pub fn maybe_auto_color_scale(
self,
value: Option<bool>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetAutoColorScale<S>>where
S::AutoColorScale: IsUnset,
Sourcepub fn color_bar(
self,
value: &'f7 ColorBar,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColorBar<S>>where
S::ColorBar: IsUnset,
pub fn color_bar(
self,
value: &'f7 ColorBar,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColorBar<S>>where
S::ColorBar: IsUnset,
Sourcepub fn maybe_color_bar(
self,
value: Option<&'f7 ColorBar>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColorBar<S>>where
S::ColorBar: IsUnset,
pub fn maybe_color_bar(
self,
value: Option<&'f7 ColorBar>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColorBar<S>>where
S::ColorBar: IsUnset,
Sourcepub fn color_scale(
self,
value: Palette,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColorScale<S>>where
S::ColorScale: IsUnset,
pub fn color_scale(
self,
value: Palette,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColorScale<S>>where
S::ColorScale: IsUnset,
Sourcepub fn maybe_color_scale(
self,
value: Option<Palette>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColorScale<S>>where
S::ColorScale: IsUnset,
pub fn maybe_color_scale(
self,
value: Option<Palette>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColorScale<S>>where
S::ColorScale: IsUnset,
Sourcepub fn reverse_scale(
self,
value: bool,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetReverseScale<S>>where
S::ReverseScale: IsUnset,
pub fn reverse_scale(
self,
value: bool,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetReverseScale<S>>where
S::ReverseScale: IsUnset,
Sourcepub fn maybe_reverse_scale(
self,
value: Option<bool>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetReverseScale<S>>where
S::ReverseScale: IsUnset,
pub fn maybe_reverse_scale(
self,
value: Option<bool>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetReverseScale<S>>where
S::ReverseScale: IsUnset,
Sourcepub fn show_scale(
self,
value: bool,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShowScale<S>>where
S::ShowScale: IsUnset,
pub fn show_scale(
self,
value: bool,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShowScale<S>>where
S::ShowScale: IsUnset,
Sourcepub fn maybe_show_scale(
self,
value: Option<bool>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShowScale<S>>where
S::ShowScale: IsUnset,
pub fn maybe_show_scale(
self,
value: Option<bool>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShowScale<S>>where
S::ShowScale: IsUnset,
Sourcepub fn plot_title(
self,
value: impl Into<Text>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn plot_title(
self,
value: impl Into<Text>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn x_title(
self,
value: impl Into<Text>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXTitle<S>>where
S::XTitle: IsUnset,
pub fn x_title(
self,
value: impl Into<Text>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXTitle<S>>where
S::XTitle: IsUnset,
Sourcepub fn maybe_x_title(
self,
value: Option<impl Into<Text>>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXTitle<S>>where
S::XTitle: IsUnset,
pub fn maybe_x_title(
self,
value: Option<impl Into<Text>>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXTitle<S>>where
S::XTitle: IsUnset,
Sourcepub fn y_title(
self,
value: impl Into<Text>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYTitle<S>>where
S::YTitle: IsUnset,
pub fn y_title(
self,
value: impl Into<Text>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYTitle<S>>where
S::YTitle: IsUnset,
Sourcepub fn maybe_y_title(
self,
value: Option<impl Into<Text>>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYTitle<S>>where
S::YTitle: IsUnset,
pub fn maybe_y_title(
self,
value: Option<impl Into<Text>>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYTitle<S>>where
S::YTitle: IsUnset,
Sourcepub fn x_axis(
self,
value: &'f8 Axis,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXAxis<S>>where
S::XAxis: IsUnset,
pub fn x_axis(
self,
value: &'f8 Axis,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXAxis<S>>where
S::XAxis: IsUnset,
Sourcepub fn maybe_x_axis(
self,
value: Option<&'f8 Axis>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXAxis<S>>where
S::XAxis: IsUnset,
pub fn maybe_x_axis(
self,
value: Option<&'f8 Axis>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXAxis<S>>where
S::XAxis: IsUnset,
Sourcepub fn y_axis(
self,
value: &'f9 Axis,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYAxis<S>>where
S::YAxis: IsUnset,
pub fn y_axis(
self,
value: &'f9 Axis,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYAxis<S>>where
S::YAxis: IsUnset,
Sourcepub fn maybe_y_axis(
self,
value: Option<&'f9 Axis>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYAxis<S>>where
S::YAxis: IsUnset,
pub fn maybe_y_axis(
self,
value: Option<&'f9 Axis>,
) -> HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYAxis<S>>where
S::YAxis: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S> Freeze for HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S = Empty> !RefUnwindSafe for HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S> Send for HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S> Sync for HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S> Unpin for HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S> UnsafeUnpin for HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S = Empty> !UnwindSafe for HeatMapBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, 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