pub struct PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 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, S: State> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S: State> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
Sourcepub fn try_build(self) -> Result<PieChart, PlotlarsError>where
S: IsComplete,
pub fn try_build(self) -> Result<PieChart, PlotlarsError>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn data(
self,
value: &'f1 DataFrame,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetData<S>>where
S::Data: IsUnset,
pub fn data(
self,
value: &'f1 DataFrame,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetData<S>>where
S::Data: IsUnset,
Required.
Sourcepub fn labels(
self,
value: &'f2 str,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLabels<S>>where
S::Labels: IsUnset,
pub fn labels(
self,
value: &'f2 str,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLabels<S>>where
S::Labels: IsUnset,
Required.
Sourcepub fn facet(
self,
value: &'f3 str,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetFacet<S>>where
S::Facet: IsUnset,
pub fn facet(
self,
value: &'f3 str,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetFacet<S>>where
S::Facet: IsUnset,
Sourcepub fn maybe_facet(
self,
value: Option<&'f3 str>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetFacet<S>>where
S::Facet: IsUnset,
pub fn maybe_facet(
self,
value: Option<&'f3 str>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetFacet<S>>where
S::Facet: IsUnset,
Sourcepub fn facet_config(
self,
value: &'f4 FacetConfig,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
pub fn facet_config(
self,
value: &'f4 FacetConfig,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
Sourcepub fn maybe_facet_config(
self,
value: Option<&'f4 FacetConfig>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
pub fn maybe_facet_config(
self,
value: Option<&'f4 FacetConfig>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
Sourcepub fn hole(
self,
value: f64,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetHole<S>>where
S::Hole: IsUnset,
pub fn hole(
self,
value: f64,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetHole<S>>where
S::Hole: IsUnset,
Sourcepub fn maybe_hole(
self,
value: Option<f64>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetHole<S>>where
S::Hole: IsUnset,
pub fn maybe_hole(
self,
value: Option<f64>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetHole<S>>where
S::Hole: IsUnset,
Sourcepub fn pull(
self,
value: f64,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPull<S>>where
S::Pull: IsUnset,
pub fn pull(
self,
value: f64,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPull<S>>where
S::Pull: IsUnset,
Sourcepub fn maybe_pull(
self,
value: Option<f64>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPull<S>>where
S::Pull: IsUnset,
pub fn maybe_pull(
self,
value: Option<f64>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPull<S>>where
S::Pull: IsUnset,
Sourcepub fn rotation(
self,
value: f64,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetRotation<S>>where
S::Rotation: IsUnset,
pub fn rotation(
self,
value: f64,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetRotation<S>>where
S::Rotation: IsUnset,
Sourcepub fn maybe_rotation(
self,
value: Option<f64>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetRotation<S>>where
S::Rotation: IsUnset,
pub fn maybe_rotation(
self,
value: Option<f64>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetRotation<S>>where
S::Rotation: IsUnset,
Sourcepub fn colors(
self,
value: Vec<Rgb>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetColors<S>>where
S::Colors: IsUnset,
pub fn colors(
self,
value: Vec<Rgb>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetColors<S>>where
S::Colors: IsUnset,
Sourcepub fn maybe_colors(
self,
value: Option<Vec<Rgb>>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetColors<S>>where
S::Colors: IsUnset,
pub fn maybe_colors(
self,
value: Option<Vec<Rgb>>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetColors<S>>where
S::Colors: IsUnset,
Sourcepub fn plot_title(
self,
value: impl Into<Text>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn plot_title(
self,
value: impl Into<Text>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn legend_title(
self,
value: impl Into<Text>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
pub fn legend_title(
self,
value: impl Into<Text>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
Sourcepub fn maybe_legend_title(
self,
value: Option<impl Into<Text>>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
pub fn maybe_legend_title(
self,
value: Option<impl Into<Text>>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
Sourcepub fn legend(
self,
value: &'f5 Legend,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegend<S>>where
S::Legend: IsUnset,
pub fn legend(
self,
value: &'f5 Legend,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegend<S>>where
S::Legend: IsUnset,
Sourcepub fn maybe_legend(
self,
value: Option<&'f5 Legend>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegend<S>>where
S::Legend: IsUnset,
pub fn maybe_legend(
self,
value: Option<&'f5 Legend>,
) -> PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegend<S>>where
S::Legend: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, 'f4, 'f5, S> Freeze for PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S = Empty> !RefUnwindSafe for PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S> Send for PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S> Sync for PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S> Unpin for PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S> UnsafeUnpin for PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S = Empty> !UnwindSafe for PieChartTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 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