pub struct Array2dPlotTryBuilder<'f1, 'f2, 'f3, 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, S: State> Array2dPlotTryBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S: State> Array2dPlotTryBuilder<'f1, 'f2, 'f3, S>
Sourcepub fn try_build(self) -> Result<Array2dPlot, PlotlarsError>where
S: IsComplete,
pub fn try_build(self) -> Result<Array2dPlot, PlotlarsError>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn data(
self,
value: &'f1 [Vec<[u8; 3]>],
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetData<S>>where
S::Data: IsUnset,
pub fn data(
self,
value: &'f1 [Vec<[u8; 3]>],
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetData<S>>where
S::Data: IsUnset,
Required.
Sourcepub fn plot_title(
self,
value: impl Into<Text>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn plot_title(
self,
value: impl Into<Text>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
pub fn maybe_plot_title(
self,
value: Option<impl Into<Text>>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetPlotTitle<S>>where
S::PlotTitle: IsUnset,
Sourcepub fn x_title(
self,
value: impl Into<Text>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetXTitle<S>>where
S::XTitle: IsUnset,
pub fn x_title(
self,
value: impl Into<Text>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetXTitle<S>>where
S::XTitle: IsUnset,
Sourcepub fn maybe_x_title(
self,
value: Option<impl Into<Text>>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetXTitle<S>>where
S::XTitle: IsUnset,
pub fn maybe_x_title(
self,
value: Option<impl Into<Text>>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetXTitle<S>>where
S::XTitle: IsUnset,
Sourcepub fn y_title(
self,
value: impl Into<Text>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetYTitle<S>>where
S::YTitle: IsUnset,
pub fn y_title(
self,
value: impl Into<Text>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetYTitle<S>>where
S::YTitle: IsUnset,
Sourcepub fn maybe_y_title(
self,
value: Option<impl Into<Text>>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetYTitle<S>>where
S::YTitle: IsUnset,
pub fn maybe_y_title(
self,
value: Option<impl Into<Text>>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetYTitle<S>>where
S::YTitle: IsUnset,
Sourcepub fn x_axis(
self,
value: &'f2 Axis,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetXAxis<S>>where
S::XAxis: IsUnset,
pub fn x_axis(
self,
value: &'f2 Axis,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetXAxis<S>>where
S::XAxis: IsUnset,
Sourcepub fn maybe_x_axis(
self,
value: Option<&'f2 Axis>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetXAxis<S>>where
S::XAxis: IsUnset,
pub fn maybe_x_axis(
self,
value: Option<&'f2 Axis>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetXAxis<S>>where
S::XAxis: IsUnset,
Sourcepub fn y_axis(
self,
value: &'f3 Axis,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetYAxis<S>>where
S::YAxis: IsUnset,
pub fn y_axis(
self,
value: &'f3 Axis,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetYAxis<S>>where
S::YAxis: IsUnset,
Sourcepub fn maybe_y_axis(
self,
value: Option<&'f3 Axis>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetYAxis<S>>where
S::YAxis: IsUnset,
pub fn maybe_y_axis(
self,
value: Option<&'f3 Axis>,
) -> Array2dPlotTryBuilder<'f1, 'f2, 'f3, SetYAxis<S>>where
S::YAxis: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, S> Freeze for Array2dPlotTryBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> RefUnwindSafe for Array2dPlotTryBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> Send for Array2dPlotTryBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> Sync for Array2dPlotTryBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> Unpin for Array2dPlotTryBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> UnsafeUnpin for Array2dPlotTryBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> UnwindSafe for Array2dPlotTryBuilder<'f1, 'f2, 'f3, 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