#[non_exhaustive]pub struct ContinuousHyperParameterRangeBuilder { /* private fields */ }
Expand description
A builder for ContinuousHyperParameterRange
.
Implementations§
source§impl ContinuousHyperParameterRangeBuilder
impl ContinuousHyperParameterRangeBuilder
sourcepub fn set_min_value(self, input: Option<f64>) -> Self
pub fn set_min_value(self, input: Option<f64>) -> Self
The minimum allowable value for the hyperparameter.
sourcepub fn get_min_value(&self) -> &Option<f64>
pub fn get_min_value(&self) -> &Option<f64>
The minimum allowable value for the hyperparameter.
sourcepub fn set_max_value(self, input: Option<f64>) -> Self
pub fn set_max_value(self, input: Option<f64>) -> Self
The maximum allowable value for the hyperparameter.
sourcepub fn get_max_value(&self) -> &Option<f64>
pub fn get_max_value(&self) -> &Option<f64>
The maximum allowable value for the hyperparameter.
sourcepub fn build(self) -> ContinuousHyperParameterRange
pub fn build(self) -> ContinuousHyperParameterRange
Consumes the builder and constructs a ContinuousHyperParameterRange
.
Trait Implementations§
source§impl Clone for ContinuousHyperParameterRangeBuilder
impl Clone for ContinuousHyperParameterRangeBuilder
source§fn clone(&self) -> ContinuousHyperParameterRangeBuilder
fn clone(&self) -> ContinuousHyperParameterRangeBuilder
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 Default for ContinuousHyperParameterRangeBuilder
impl Default for ContinuousHyperParameterRangeBuilder
source§fn default() -> ContinuousHyperParameterRangeBuilder
fn default() -> ContinuousHyperParameterRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ContinuousHyperParameterRangeBuilder
impl PartialEq for ContinuousHyperParameterRangeBuilder
source§fn eq(&self, other: &ContinuousHyperParameterRangeBuilder) -> bool
fn eq(&self, other: &ContinuousHyperParameterRangeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContinuousHyperParameterRangeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ContinuousHyperParameterRangeBuilder
impl Send for ContinuousHyperParameterRangeBuilder
impl Sync for ContinuousHyperParameterRangeBuilder
impl Unpin for ContinuousHyperParameterRangeBuilder
impl UnwindSafe for ContinuousHyperParameterRangeBuilder
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>
Creates a shared type from an unshared type.