pub struct StepSizeSettings {
pub target_accept: f64,
pub initial_step: f64,
pub jitter: Option<f64>,
pub adapt_options: StepSizeAdaptOptions,
}Fields§
§target_accept: f64Target acceptance rate
initial_step: f64Initial step size
jitter: Option<f64>Optional jitter to add to step size (randomization)
adapt_options: StepSizeAdaptOptionsAdaptation options specific to the chosen method
Trait Implementations§
Source§impl Clone for StepSizeSettings
impl Clone for StepSizeSettings
Source§fn clone(&self) -> StepSizeSettings
fn clone(&self) -> StepSizeSettings
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 StepSizeSettings
impl Debug for StepSizeSettings
Source§impl Default for StepSizeSettings
impl Default for StepSizeSettings
Source§impl Serialize for StepSizeSettings
impl Serialize for StepSizeSettings
impl Copy for StepSizeSettings
Auto Trait Implementations§
impl Freeze for StepSizeSettings
impl RefUnwindSafe for StepSizeSettings
impl Send for StepSizeSettings
impl Sync for StepSizeSettings
impl Unpin for StepSizeSettings
impl UnwindSafe for StepSizeSettings
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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