pub struct AdjustRate(/* private fields */);Expand description
Degree to adjust probabilities towards best point during steps.
Implementations§
Source§impl AdjustRate
impl AdjustRate
Sourcepub fn new(value: f64) -> Result<Self, InvalidAdjustRateError>
pub fn new(value: f64) -> Result<Self, InvalidAdjustRateError>
Return a new ‘AdjustRate’ if given a valid value.
Source§impl AdjustRate
impl AdjustRate
Sourcepub fn into_inner(self) -> f64
pub fn into_inner(self) -> f64
Unwrap ‘AdjustRate’ into inner value.
Trait Implementations§
Source§impl Clone for AdjustRate
impl Clone for AdjustRate
Source§fn clone(&self) -> AdjustRate
fn clone(&self) -> AdjustRate
Returns a duplicate 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 AdjustRate
impl Debug for AdjustRate
Source§impl Default for AdjustRate
impl Default for AdjustRate
Source§impl Display for AdjustRate
impl Display for AdjustRate
Source§impl From<AdjustRate> for f64
impl From<AdjustRate> for f64
Source§fn from(original: AdjustRate) -> Self
fn from(original: AdjustRate) -> Self
Converts to this type from the input type.
Source§impl FromStr for AdjustRate
impl FromStr for AdjustRate
Source§impl LowerBounded for AdjustRate
impl LowerBounded for AdjustRate
Source§impl Ord for AdjustRate
impl Ord for AdjustRate
Source§impl PartialEq for AdjustRate
impl PartialEq for AdjustRate
Source§impl PartialOrd for AdjustRate
impl PartialOrd for AdjustRate
Source§impl TryFrom<f64> for AdjustRate
impl TryFrom<f64> for AdjustRate
Source§impl UpperBounded for AdjustRate
impl UpperBounded for AdjustRate
impl Copy for AdjustRate
impl Eq for AdjustRate
impl StructuralPartialEq for AdjustRate
Auto Trait Implementations§
impl Freeze for AdjustRate
impl RefUnwindSafe for AdjustRate
impl Send for AdjustRate
impl Sync for AdjustRate
impl Unpin for AdjustRate
impl UnwindSafe for AdjustRate
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