#[non_exhaustive]pub struct HistogramBinOptionsBuilder { /* private fields */ }Expand description
A builder for HistogramBinOptions.
Implementations§
source§impl HistogramBinOptionsBuilder
impl HistogramBinOptionsBuilder
sourcepub fn selected_bin_type(self, input: HistogramBinType) -> Self
pub fn selected_bin_type(self, input: HistogramBinType) -> Self
The options that determine the selected bin type.
sourcepub fn set_selected_bin_type(self, input: Option<HistogramBinType>) -> Self
pub fn set_selected_bin_type(self, input: Option<HistogramBinType>) -> Self
The options that determine the selected bin type.
sourcepub fn get_selected_bin_type(&self) -> &Option<HistogramBinType>
pub fn get_selected_bin_type(&self) -> &Option<HistogramBinType>
The options that determine the selected bin type.
sourcepub fn bin_count(self, input: BinCountOptions) -> Self
pub fn bin_count(self, input: BinCountOptions) -> Self
The options that determine the bin count of a histogram.
sourcepub fn set_bin_count(self, input: Option<BinCountOptions>) -> Self
pub fn set_bin_count(self, input: Option<BinCountOptions>) -> Self
The options that determine the bin count of a histogram.
sourcepub fn get_bin_count(&self) -> &Option<BinCountOptions>
pub fn get_bin_count(&self) -> &Option<BinCountOptions>
The options that determine the bin count of a histogram.
sourcepub fn bin_width(self, input: BinWidthOptions) -> Self
pub fn bin_width(self, input: BinWidthOptions) -> Self
The options that determine the bin width of a histogram.
sourcepub fn set_bin_width(self, input: Option<BinWidthOptions>) -> Self
pub fn set_bin_width(self, input: Option<BinWidthOptions>) -> Self
The options that determine the bin width of a histogram.
sourcepub fn get_bin_width(&self) -> &Option<BinWidthOptions>
pub fn get_bin_width(&self) -> &Option<BinWidthOptions>
The options that determine the bin width of a histogram.
sourcepub fn start_value(self, input: f64) -> Self
pub fn start_value(self, input: f64) -> Self
The options that determine the bin start value.
sourcepub fn set_start_value(self, input: Option<f64>) -> Self
pub fn set_start_value(self, input: Option<f64>) -> Self
The options that determine the bin start value.
sourcepub fn get_start_value(&self) -> &Option<f64>
pub fn get_start_value(&self) -> &Option<f64>
The options that determine the bin start value.
sourcepub fn build(self) -> HistogramBinOptions
pub fn build(self) -> HistogramBinOptions
Consumes the builder and constructs a HistogramBinOptions.
Trait Implementations§
source§impl Clone for HistogramBinOptionsBuilder
impl Clone for HistogramBinOptionsBuilder
source§fn clone(&self) -> HistogramBinOptionsBuilder
fn clone(&self) -> HistogramBinOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HistogramBinOptionsBuilder
impl Debug for HistogramBinOptionsBuilder
source§impl Default for HistogramBinOptionsBuilder
impl Default for HistogramBinOptionsBuilder
source§fn default() -> HistogramBinOptionsBuilder
fn default() -> HistogramBinOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for HistogramBinOptionsBuilder
impl PartialEq for HistogramBinOptionsBuilder
source§fn eq(&self, other: &HistogramBinOptionsBuilder) -> bool
fn eq(&self, other: &HistogramBinOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HistogramBinOptionsBuilder
Auto Trait Implementations§
impl Freeze for HistogramBinOptionsBuilder
impl RefUnwindSafe for HistogramBinOptionsBuilder
impl Send for HistogramBinOptionsBuilder
impl Sync for HistogramBinOptionsBuilder
impl Unpin for HistogramBinOptionsBuilder
impl UnwindSafe for HistogramBinOptionsBuilder
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 moreCreates a shared type from an unshared type.