pub struct DensityMapboxTryBuilder<'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> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S: State> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
Sourcepub fn try_build(self) -> Result<DensityMapbox, PlotlarsError>where
S: IsComplete,
pub fn try_build(self) -> Result<DensityMapbox, PlotlarsError>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn data(
self,
value: &'f1 DataFrame,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetData<S>>where
S::Data: IsUnset,
pub fn data(
self,
value: &'f1 DataFrame,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetData<S>>where
S::Data: IsUnset,
Required.
Sourcepub fn lat(
self,
value: &'f2 str,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLat<S>>where
S::Lat: IsUnset,
pub fn lat(
self,
value: &'f2 str,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLat<S>>where
S::Lat: IsUnset,
Required.
Sourcepub fn lon(
self,
value: &'f3 str,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLon<S>>where
S::Lon: IsUnset,
pub fn lon(
self,
value: &'f3 str,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLon<S>>where
S::Lon: IsUnset,
Required.
Sourcepub fn z(
self,
value: &'f4 str,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZ<S>>where
S::Z: IsUnset,
pub fn z(
self,
value: &'f4 str,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZ<S>>where
S::Z: IsUnset,
Required.
Sourcepub fn center(
self,
value: [f64; 2],
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetCenter<S>>where
S::Center: IsUnset,
pub fn center(
self,
value: [f64; 2],
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetCenter<S>>where
S::Center: IsUnset,
Sourcepub fn maybe_center(
self,
value: Option<[f64; 2]>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetCenter<S>>where
S::Center: IsUnset,
pub fn maybe_center(
self,
value: Option<[f64; 2]>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetCenter<S>>where
S::Center: IsUnset,
Sourcepub fn zoom(
self,
value: u8,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZoom<S>>where
S::Zoom: IsUnset,
pub fn zoom(
self,
value: u8,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZoom<S>>where
S::Zoom: IsUnset,
Sourcepub fn maybe_zoom(
self,
value: Option<u8>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZoom<S>>where
S::Zoom: IsUnset,
pub fn maybe_zoom(
self,
value: Option<u8>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZoom<S>>where
S::Zoom: IsUnset,
Sourcepub fn radius(
self,
value: u8,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetRadius<S>>where
S::Radius: IsUnset,
pub fn radius(
self,
value: u8,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetRadius<S>>where
S::Radius: IsUnset,
Sourcepub fn maybe_radius(
self,
value: Option<u8>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetRadius<S>>where
S::Radius: IsUnset,
pub fn maybe_radius(
self,
value: Option<u8>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetRadius<S>>where
S::Radius: IsUnset,
Sourcepub fn opacity(
self,
value: f64,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetOpacity<S>>where
S::Opacity: IsUnset,
pub fn opacity(
self,
value: f64,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetOpacity<S>>where
S::Opacity: IsUnset,
Sourcepub fn maybe_opacity(
self,
value: Option<f64>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetOpacity<S>>where
S::Opacity: IsUnset,
pub fn maybe_opacity(
self,
value: Option<f64>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetOpacity<S>>where
S::Opacity: IsUnset,
Sourcepub fn z_min(
self,
value: f64,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMin<S>>where
S::ZMin: IsUnset,
pub fn z_min(
self,
value: f64,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMin<S>>where
S::ZMin: IsUnset,
Sourcepub fn maybe_z_min(
self,
value: Option<f64>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMin<S>>where
S::ZMin: IsUnset,
pub fn maybe_z_min(
self,
value: Option<f64>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMin<S>>where
S::ZMin: IsUnset,
Sourcepub fn z_max(
self,
value: f64,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMax<S>>where
S::ZMax: IsUnset,
pub fn z_max(
self,
value: f64,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMax<S>>where
S::ZMax: IsUnset,
Sourcepub fn maybe_z_max(
self,
value: Option<f64>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMax<S>>where
S::ZMax: IsUnset,
pub fn maybe_z_max(
self,
value: Option<f64>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMax<S>>where
S::ZMax: IsUnset,
Sourcepub fn z_mid(
self,
value: f64,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMid<S>>where
S::ZMid: IsUnset,
pub fn z_mid(
self,
value: f64,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMid<S>>where
S::ZMid: IsUnset,
Sourcepub fn maybe_z_mid(
self,
value: Option<f64>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMid<S>>where
S::ZMid: IsUnset,
pub fn maybe_z_mid(
self,
value: Option<f64>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetZMid<S>>where
S::ZMid: IsUnset,
Sourcepub fn plot_title(
self,
value: impl Into<Text>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn plot_title(
self,
value: impl Into<Text>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn legend_title(
self,
value: impl Into<Text>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
pub fn legend_title(
self,
value: impl Into<Text>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
Sourcepub fn maybe_legend_title(
self,
value: Option<impl Into<Text>>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
pub fn maybe_legend_title(
self,
value: Option<impl Into<Text>>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegendTitle<S>>where
S::LegendTitle: IsUnset,
Sourcepub fn legend(
self,
value: &'f5 Legend,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegend<S>>where
S::Legend: IsUnset,
pub fn legend(
self,
value: &'f5 Legend,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegend<S>>where
S::Legend: IsUnset,
Sourcepub fn maybe_legend(
self,
value: Option<&'f5 Legend>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegend<S>>where
S::Legend: IsUnset,
pub fn maybe_legend(
self,
value: Option<&'f5 Legend>,
) -> DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, SetLegend<S>>where
S::Legend: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, 'f4, 'f5, S> Freeze for DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S = Empty> !RefUnwindSafe for DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S> Send for DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S> Sync for DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S> Unpin for DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S> UnsafeUnpin for DensityMapboxTryBuilder<'f1, 'f2, 'f3, 'f4, 'f5, S>
impl<'f1, 'f2, 'f3, 'f4, 'f5, S = Empty> !UnwindSafe for DensityMapboxTryBuilder<'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