Struct nuts_rs::AdaptOptions
source · pub struct AdaptOptions<S: Debug + Default> {
pub dual_average_options: DualAverageSettings,
pub mass_matrix_options: S,
pub early_window: f64,
pub step_size_window: f64,
pub mass_matrix_switch_freq: u64,
pub early_mass_matrix_switch_freq: u64,
pub mass_matrix_update_freq: u64,
}
Fields§
§dual_average_options: DualAverageSettings
§mass_matrix_options: S
§early_window: f64
§step_size_window: f64
§mass_matrix_switch_freq: u64
§early_mass_matrix_switch_freq: u64
§mass_matrix_update_freq: u64
Trait Implementations§
source§impl<S: Clone + Debug + Default> Clone for AdaptOptions<S>
impl<S: Clone + Debug + Default> Clone for AdaptOptions<S>
source§fn clone(&self) -> AdaptOptions<S>
fn clone(&self) -> AdaptOptions<S>
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 moreimpl<S: Copy + Debug + Default> Copy for AdaptOptions<S>
Auto Trait Implementations§
impl<S> Freeze for AdaptOptions<S>where
S: Freeze,
impl<S> RefUnwindSafe for AdaptOptions<S>where
S: RefUnwindSafe,
impl<S> Send for AdaptOptions<S>where
S: Send,
impl<S> Sync for AdaptOptions<S>where
S: Sync,
impl<S> Unpin for AdaptOptions<S>where
S: Unpin,
impl<S> UnwindSafe for AdaptOptions<S>where
S: UnwindSafe,
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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