pub struct ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 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, S: State> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S: State> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S>
Sourcepub fn build(self) -> ScatterGeowhere
S: IsComplete,
pub fn build(self) -> ScatterGeowhere
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn data(
self,
value: &'f1 DataFrame,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetData<S>>where
S::Data: IsUnset,
pub fn data(
self,
value: &'f1 DataFrame,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetData<S>>where
S::Data: IsUnset,
Required.
Sourcepub fn lat(
self,
value: &'f2 str,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLat<S>>where
S::Lat: IsUnset,
pub fn lat(
self,
value: &'f2 str,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLat<S>>where
S::Lat: IsUnset,
Required.
Sourcepub fn lon(
self,
value: &'f3 str,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLon<S>>where
S::Lon: IsUnset,
pub fn lon(
self,
value: &'f3 str,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLon<S>>where
S::Lon: IsUnset,
Required.
Sourcepub fn mode(
self,
value: Mode,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetMode<S>>where
S::Mode: IsUnset,
pub fn mode(
self,
value: Mode,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetMode<S>>where
S::Mode: IsUnset,
Sourcepub fn maybe_mode(
self,
value: Option<Mode>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetMode<S>>where
S::Mode: IsUnset,
pub fn maybe_mode(
self,
value: Option<Mode>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetMode<S>>where
S::Mode: IsUnset,
Sourcepub fn text(
self,
value: &'f4 str,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetText<S>>where
S::Text: IsUnset,
pub fn text(
self,
value: &'f4 str,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetText<S>>where
S::Text: IsUnset,
Sourcepub fn maybe_text(
self,
value: Option<&'f4 str>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetText<S>>where
S::Text: IsUnset,
pub fn maybe_text(
self,
value: Option<&'f4 str>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetText<S>>where
S::Text: IsUnset,
Sourcepub fn group(
self,
value: &'f5 str,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetGroup<S>>where
S::Group: IsUnset,
pub fn group(
self,
value: &'f5 str,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetGroup<S>>where
S::Group: IsUnset,
Sourcepub fn maybe_group(
self,
value: Option<&'f5 str>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetGroup<S>>where
S::Group: IsUnset,
pub fn maybe_group(
self,
value: Option<&'f5 str>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetGroup<S>>where
S::Group: IsUnset,
Sourcepub fn sort_groups_by(
self,
value: fn(&str, &str) -> Ordering,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetSortGroupsBy<S>>where
S::SortGroupsBy: IsUnset,
pub fn sort_groups_by(
self,
value: fn(&str, &str) -> Ordering,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetSortGroupsBy<S>>where
S::SortGroupsBy: IsUnset,
Sourcepub fn maybe_sort_groups_by(
self,
value: Option<fn(&str, &str) -> Ordering>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetSortGroupsBy<S>>where
S::SortGroupsBy: IsUnset,
pub fn maybe_sort_groups_by(
self,
value: Option<fn(&str, &str) -> Ordering>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetSortGroupsBy<S>>where
S::SortGroupsBy: IsUnset,
Sourcepub fn opacity(
self,
value: f64,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetOpacity<S>>where
S::Opacity: IsUnset,
pub fn opacity(
self,
value: f64,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetOpacity<S>>where
S::Opacity: IsUnset,
Sourcepub fn maybe_opacity(
self,
value: Option<f64>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetOpacity<S>>where
S::Opacity: IsUnset,
pub fn maybe_opacity(
self,
value: Option<f64>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetOpacity<S>>where
S::Opacity: IsUnset,
Sourcepub fn size(
self,
value: usize,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetSize<S>>where
S::Size: IsUnset,
pub fn size(
self,
value: usize,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetSize<S>>where
S::Size: IsUnset,
Sourcepub fn maybe_size(
self,
value: Option<usize>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetSize<S>>where
S::Size: IsUnset,
pub fn maybe_size(
self,
value: Option<usize>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetSize<S>>where
S::Size: IsUnset,
Sourcepub fn color(
self,
value: Rgb,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetColor<S>>where
S::Color: IsUnset,
pub fn color(
self,
value: Rgb,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetColor<S>>where
S::Color: IsUnset,
Sourcepub fn maybe_color(
self,
value: Option<Rgb>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetColor<S>>where
S::Color: IsUnset,
pub fn maybe_color(
self,
value: Option<Rgb>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetColor<S>>where
S::Color: IsUnset,
Sourcepub fn colors(
self,
value: Vec<Rgb>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetColors<S>>where
S::Colors: IsUnset,
pub fn colors(
self,
value: Vec<Rgb>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetColors<S>>where
S::Colors: IsUnset,
Sourcepub fn maybe_colors(
self,
value: Option<Vec<Rgb>>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetColors<S>>where
S::Colors: IsUnset,
pub fn maybe_colors(
self,
value: Option<Vec<Rgb>>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetColors<S>>where
S::Colors: IsUnset,
Sourcepub fn shape(
self,
value: Shape,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetShape<S>>where
S::Shape: IsUnset,
pub fn shape(
self,
value: Shape,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetShape<S>>where
S::Shape: IsUnset,
Sourcepub fn maybe_shape(
self,
value: Option<Shape>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetShape<S>>where
S::Shape: IsUnset,
pub fn maybe_shape(
self,
value: Option<Shape>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetShape<S>>where
S::Shape: IsUnset,
Sourcepub fn shapes(
self,
value: Vec<Shape>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetShapes<S>>where
S::Shapes: IsUnset,
pub fn shapes(
self,
value: Vec<Shape>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetShapes<S>>where
S::Shapes: IsUnset,
Sourcepub fn maybe_shapes(
self,
value: Option<Vec<Shape>>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetShapes<S>>where
S::Shapes: IsUnset,
pub fn maybe_shapes(
self,
value: Option<Vec<Shape>>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetShapes<S>>where
S::Shapes: IsUnset,
Sourcepub fn line_width(
self,
value: f64,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLineWidth<S>>where
S::LineWidth: IsUnset,
pub fn line_width(
self,
value: f64,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLineWidth<S>>where
S::LineWidth: IsUnset,
Sourcepub fn maybe_line_width(
self,
value: Option<f64>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLineWidth<S>>where
S::LineWidth: IsUnset,
pub fn maybe_line_width(
self,
value: Option<f64>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLineWidth<S>>where
S::LineWidth: IsUnset,
Sourcepub fn line_color(
self,
value: Rgb,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLineColor<S>>where
S::LineColor: IsUnset,
pub fn line_color(
self,
value: Rgb,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLineColor<S>>where
S::LineColor: IsUnset,
Sourcepub fn maybe_line_color(
self,
value: Option<Rgb>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLineColor<S>>where
S::LineColor: IsUnset,
pub fn maybe_line_color(
self,
value: Option<Rgb>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLineColor<S>>where
S::LineColor: IsUnset,
Sourcepub fn plot_title(
self,
value: impl Into<Text>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn plot_title(
self,
value: impl Into<Text>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn legend_title(
self,
value: impl Into<Text>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
pub fn legend_title(
self,
value: impl Into<Text>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
Sourcepub fn maybe_legend_title(
self,
value: Option<impl Into<Text>>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
pub fn maybe_legend_title(
self,
value: Option<impl Into<Text>>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
Sourcepub fn legend(
self,
value: &'f6 Legend,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLegend<S>>where
S::Legend: IsUnset,
pub fn legend(
self,
value: &'f6 Legend,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLegend<S>>where
S::Legend: IsUnset,
Sourcepub fn maybe_legend(
self,
value: Option<&'f6 Legend>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLegend<S>>where
S::Legend: IsUnset,
pub fn maybe_legend(
self,
value: Option<&'f6 Legend>,
) -> ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, SetLegend<S>>where
S::Legend: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S> Freeze for ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S = Empty> !RefUnwindSafe for ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S> Send for ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S> Sync for ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S> Unpin for ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S> UnsafeUnpin for ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, S = Empty> !UnwindSafe for ScatterGeoBuilder<'f1, 'f2, 'f3, 'f4, 'f5, 'f6, 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