pub struct ScatterPlotTryBuilder<'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 try_build().
Implementations§
Source§impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S: State> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S: State> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
Sourcepub fn try_build(self) -> Result<ScatterPlot, PlotlarsError>where
S: IsComplete,
pub fn try_build(self) -> Result<ScatterPlot, PlotlarsError>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn data(
self,
value: &'f1 DataFrame,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetData<S>>where
S::Data: IsUnset,
pub fn data(
self,
value: &'f1 DataFrame,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetData<S>>where
S::Data: IsUnset,
Required.
Sourcepub fn x(
self,
value: &'f2 str,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetX<S>>where
S::X: IsUnset,
pub fn x(
self,
value: &'f2 str,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetX<S>>where
S::X: IsUnset,
Required.
Sourcepub fn y(
self,
value: &'f3 str,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetY<S>>where
S::Y: IsUnset,
pub fn y(
self,
value: &'f3 str,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetY<S>>where
S::Y: IsUnset,
Required.
Sourcepub fn group(
self,
value: &'f4 str,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetGroup<S>>where
S::Group: IsUnset,
pub fn group(
self,
value: &'f4 str,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetGroup<S>>where
S::Group: IsUnset,
Sourcepub fn maybe_group(
self,
value: Option<&'f4 str>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetGroup<S>>where
S::Group: IsUnset,
pub fn maybe_group(
self,
value: Option<&'f4 str>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetGroup<S>>where
S::Group: IsUnset,
Sourcepub fn sort_groups_by(
self,
value: fn(&str, &str) -> Ordering,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetSortGroupsBy<S>>where
S::SortGroupsBy: IsUnset,
pub fn sort_groups_by(
self,
value: fn(&str, &str) -> Ordering,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetSortGroupsBy<S>>where
S::SortGroupsBy: IsUnset,
Sourcepub fn maybe_sort_groups_by(
self,
value: Option<fn(&str, &str) -> Ordering>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetSortGroupsBy<S>>where
S::SortGroupsBy: IsUnset,
pub fn maybe_sort_groups_by(
self,
value: Option<fn(&str, &str) -> Ordering>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetSortGroupsBy<S>>where
S::SortGroupsBy: IsUnset,
Sourcepub fn facet(
self,
value: &'f5 str,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacet<S>>where
S::Facet: IsUnset,
pub fn facet(
self,
value: &'f5 str,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacet<S>>where
S::Facet: IsUnset,
Sourcepub fn maybe_facet(
self,
value: Option<&'f5 str>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacet<S>>where
S::Facet: IsUnset,
pub fn maybe_facet(
self,
value: Option<&'f5 str>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacet<S>>where
S::Facet: IsUnset,
Sourcepub fn facet_config(
self,
value: &'f6 FacetConfig,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
pub fn facet_config(
self,
value: &'f6 FacetConfig,
) -> ScatterPlotTryBuilder<'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>,
) -> ScatterPlotTryBuilder<'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>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetFacetConfig<S>>where
S::FacetConfig: IsUnset,
Sourcepub fn opacity(
self,
value: f64,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetOpacity<S>>where
S::Opacity: IsUnset,
pub fn opacity(
self,
value: f64,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetOpacity<S>>where
S::Opacity: IsUnset,
Sourcepub fn maybe_opacity(
self,
value: Option<f64>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetOpacity<S>>where
S::Opacity: IsUnset,
pub fn maybe_opacity(
self,
value: Option<f64>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetOpacity<S>>where
S::Opacity: IsUnset,
Sourcepub fn size(
self,
value: usize,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetSize<S>>where
S::Size: IsUnset,
pub fn size(
self,
value: usize,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetSize<S>>where
S::Size: IsUnset,
Sourcepub fn maybe_size(
self,
value: Option<usize>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetSize<S>>where
S::Size: IsUnset,
pub fn maybe_size(
self,
value: Option<usize>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetSize<S>>where
S::Size: IsUnset,
Sourcepub fn color(
self,
value: Rgb,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColor<S>>where
S::Color: IsUnset,
pub fn color(
self,
value: Rgb,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColor<S>>where
S::Color: IsUnset,
Sourcepub fn maybe_color(
self,
value: Option<Rgb>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColor<S>>where
S::Color: IsUnset,
pub fn maybe_color(
self,
value: Option<Rgb>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColor<S>>where
S::Color: IsUnset,
Sourcepub fn colors(
self,
value: Vec<Rgb>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColors<S>>where
S::Colors: IsUnset,
pub fn colors(
self,
value: Vec<Rgb>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColors<S>>where
S::Colors: IsUnset,
Sourcepub fn maybe_colors(
self,
value: Option<Vec<Rgb>>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColors<S>>where
S::Colors: IsUnset,
pub fn maybe_colors(
self,
value: Option<Vec<Rgb>>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetColors<S>>where
S::Colors: IsUnset,
Sourcepub fn shape(
self,
value: Shape,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShape<S>>where
S::Shape: IsUnset,
pub fn shape(
self,
value: Shape,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShape<S>>where
S::Shape: IsUnset,
Sourcepub fn maybe_shape(
self,
value: Option<Shape>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShape<S>>where
S::Shape: IsUnset,
pub fn maybe_shape(
self,
value: Option<Shape>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShape<S>>where
S::Shape: IsUnset,
Sourcepub fn shapes(
self,
value: Vec<Shape>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShapes<S>>where
S::Shapes: IsUnset,
pub fn shapes(
self,
value: Vec<Shape>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShapes<S>>where
S::Shapes: IsUnset,
Sourcepub fn maybe_shapes(
self,
value: Option<Vec<Shape>>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShapes<S>>where
S::Shapes: IsUnset,
pub fn maybe_shapes(
self,
value: Option<Vec<Shape>>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetShapes<S>>where
S::Shapes: IsUnset,
Sourcepub fn plot_title(
self,
value: impl Into<Text>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn plot_title(
self,
value: impl Into<Text>,
) -> ScatterPlotTryBuilder<'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>>,
) -> ScatterPlotTryBuilder<'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>>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn x_title(
self,
value: impl Into<Text>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXTitle<S>>where
S::XTitle: IsUnset,
pub fn x_title(
self,
value: impl Into<Text>,
) -> ScatterPlotTryBuilder<'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>>,
) -> ScatterPlotTryBuilder<'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>>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXTitle<S>>where
S::XTitle: IsUnset,
Sourcepub fn y_title(
self,
value: impl Into<Text>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYTitle<S>>where
S::YTitle: IsUnset,
pub fn y_title(
self,
value: impl Into<Text>,
) -> ScatterPlotTryBuilder<'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>>,
) -> ScatterPlotTryBuilder<'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>>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYTitle<S>>where
S::YTitle: IsUnset,
Sourcepub fn legend_title(
self,
value: impl Into<Text>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
pub fn legend_title(
self,
value: impl Into<Text>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
Sourcepub fn maybe_legend_title(
self,
value: Option<impl Into<Text>>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
pub fn maybe_legend_title(
self,
value: Option<impl Into<Text>>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
Sourcepub fn x_axis(
self,
value: &'f7 Axis,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXAxis<S>>where
S::XAxis: IsUnset,
pub fn x_axis(
self,
value: &'f7 Axis,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXAxis<S>>where
S::XAxis: IsUnset,
Sourcepub fn maybe_x_axis(
self,
value: Option<&'f7 Axis>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXAxis<S>>where
S::XAxis: IsUnset,
pub fn maybe_x_axis(
self,
value: Option<&'f7 Axis>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetXAxis<S>>where
S::XAxis: IsUnset,
Sourcepub fn y_axis(
self,
value: &'f8 Axis,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYAxis<S>>where
S::YAxis: IsUnset,
pub fn y_axis(
self,
value: &'f8 Axis,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYAxis<S>>where
S::YAxis: IsUnset,
Sourcepub fn maybe_y_axis(
self,
value: Option<&'f8 Axis>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYAxis<S>>where
S::YAxis: IsUnset,
pub fn maybe_y_axis(
self,
value: Option<&'f8 Axis>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetYAxis<S>>where
S::YAxis: IsUnset,
Sourcepub fn legend(
self,
value: &'f9 Legend,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetLegend<S>>where
S::Legend: IsUnset,
pub fn legend(
self,
value: &'f9 Legend,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetLegend<S>>where
S::Legend: IsUnset,
Sourcepub fn maybe_legend(
self,
value: Option<&'f9 Legend>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetLegend<S>>where
S::Legend: IsUnset,
pub fn maybe_legend(
self,
value: Option<&'f9 Legend>,
) -> ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, SetLegend<S>>where
S::Legend: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S> Freeze for ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S = Empty> !RefUnwindSafe for ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S> Send for ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S> Sync for ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S> Unpin for ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S> UnsafeUnpin for ScatterPlotTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 'f7, 'f8, 'f9, S = Empty> !UnwindSafe for ScatterPlotTryBuilder<'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