pub struct InteractionDetails {
pub num_workers: usize,
pub skin_factor: f64,
pub cell_size: Option<f64>,
pub rebuild_interval: usize,
}Fields§
§num_workers: usizeNumber of worker threads for neighbor list construction
skin_factor: f64Skin factor (this factor is multiplied to the cutoff region to guarantee the correctness of the neighbor list for more than one tick)
cell_size: Option<f64>Explicit cell size
rebuild_interval: usizeThe neighbor list is rebuild after this number of time steps
Auto Trait Implementations§
impl Freeze for InteractionDetails
impl RefUnwindSafe for InteractionDetails
impl Send for InteractionDetails
impl Sync for InteractionDetails
impl Unpin for InteractionDetails
impl UnwindSafe for InteractionDetails
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