pub struct SubplotGridIrregularBuilder<'f1, 'f2, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<'f1, 'f2, S: State> SubplotGridIrregularBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S: State> SubplotGridIrregularBuilder<'f1, 'f2, S>
Sourcepub fn build(self) -> SubplotGridwhere
S: IsComplete,
pub fn build(self) -> SubplotGridwhere
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn plots(
self,
value: Vec<(&'f1 dyn Plot, usize, usize, usize, usize)>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetPlots<S>>where
S::Plots: IsUnset,
pub fn plots(
self,
value: Vec<(&'f1 dyn Plot, usize, usize, usize, usize)>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetPlots<S>>where
S::Plots: IsUnset,
Required.
Sourcepub fn rows(
self,
value: usize,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetRows<S>>where
S::Rows: IsUnset,
pub fn rows(
self,
value: usize,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetRows<S>>where
S::Rows: IsUnset,
Sourcepub fn maybe_rows(
self,
value: Option<usize>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetRows<S>>where
S::Rows: IsUnset,
pub fn maybe_rows(
self,
value: Option<usize>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetRows<S>>where
S::Rows: IsUnset,
Sourcepub fn cols(
self,
value: usize,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetCols<S>>where
S::Cols: IsUnset,
pub fn cols(
self,
value: usize,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetCols<S>>where
S::Cols: IsUnset,
Sourcepub fn maybe_cols(
self,
value: Option<usize>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetCols<S>>where
S::Cols: IsUnset,
pub fn maybe_cols(
self,
value: Option<usize>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetCols<S>>where
S::Cols: IsUnset,
Sourcepub fn title(
self,
value: impl Into<Text>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetTitle<S>>where
S::Title: IsUnset,
pub fn title(
self,
value: impl Into<Text>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetTitle<S>>where
S::Title: IsUnset,
Sourcepub fn maybe_title(
self,
value: Option<impl Into<Text>>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetTitle<S>>where
S::Title: IsUnset,
pub fn maybe_title(
self,
value: Option<impl Into<Text>>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetTitle<S>>where
S::Title: IsUnset,
Sourcepub fn h_gap(
self,
value: f64,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetHGap<S>>where
S::HGap: IsUnset,
pub fn h_gap(
self,
value: f64,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetHGap<S>>where
S::HGap: IsUnset,
Sourcepub fn maybe_h_gap(
self,
value: Option<f64>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetHGap<S>>where
S::HGap: IsUnset,
pub fn maybe_h_gap(
self,
value: Option<f64>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetHGap<S>>where
S::HGap: IsUnset,
Sourcepub fn v_gap(
self,
value: f64,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetVGap<S>>where
S::VGap: IsUnset,
pub fn v_gap(
self,
value: f64,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetVGap<S>>where
S::VGap: IsUnset,
Sourcepub fn maybe_v_gap(
self,
value: Option<f64>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetVGap<S>>where
S::VGap: IsUnset,
pub fn maybe_v_gap(
self,
value: Option<f64>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetVGap<S>>where
S::VGap: IsUnset,
Sourcepub fn dimensions(
self,
value: &'f2 Dimensions,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetDimensions<S>>where
S::Dimensions: IsUnset,
pub fn dimensions(
self,
value: &'f2 Dimensions,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetDimensions<S>>where
S::Dimensions: IsUnset,
Sourcepub fn maybe_dimensions(
self,
value: Option<&'f2 Dimensions>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetDimensions<S>>where
S::Dimensions: IsUnset,
pub fn maybe_dimensions(
self,
value: Option<&'f2 Dimensions>,
) -> SubplotGridIrregularBuilder<'f1, 'f2, SetDimensions<S>>where
S::Dimensions: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, S> Freeze for SubplotGridIrregularBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S = Empty> !RefUnwindSafe for SubplotGridIrregularBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S = Empty> !Send for SubplotGridIrregularBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S = Empty> !Sync for SubplotGridIrregularBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> Unpin for SubplotGridIrregularBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> UnsafeUnpin for SubplotGridIrregularBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S = Empty> !UnwindSafe for SubplotGridIrregularBuilder<'f1, 'f2, 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