pub struct XyConfig {
pub simulation: SimConfig,
pub cluster_updates: usize,
pub overrelaxation_sweeps: usize,
pub physics: PhysicsOptions,
pub measure_interval: usize,
}Fields§
§simulation: SimConfig§cluster_updates: usizeFixed number of cluster updates at each scheduled cluster event.
overrelaxation_sweeps: usize§physics: PhysicsOptions§measure_interval: usizeMeasure every this many sweeps after warmup. Near a transition consecutive sweeps are strongly correlated, so a stride saves measurement work at little statistical cost; block sizes and autocorrelation times are then in units of measurements.
Trait Implementations§
Auto Trait Implementations§
impl Forget for XyConfig
impl Freeze for XyConfig
impl RefUnwindSafe for XyConfig
impl Send for XyConfig
impl Sync for XyConfig
impl Unpin for XyConfig
impl UnsafeUnpin for XyConfig
impl UnwindSafe for XyConfig
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> 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