pub struct SimulationSetup<Dom, Cel, Cont = ()> { /* private fields */ }
Available on crate feature
cpu_os_threads
only.Expand description
§Complete Set of parameters controlling execution flow of simulation
Implementations§
Source§impl<Dom, Cel, Cont> SimulationSetup<Dom, Cel, Cont>
impl<Dom, Cel, Cont> SimulationSetup<Dom, Cel, Cont>
Sourcepub fn new<V>(
domain: Dom,
cells: V,
time: TimeSetup,
meta_params: SimulationMetaParams,
storage: StorageBuilder<true>,
controller: Cont,
) -> SimulationSetup<Dom, Cel, Cont>where
V: IntoIterator<Item = Cel>,
pub fn new<V>(
domain: Dom,
cells: V,
time: TimeSetup,
meta_params: SimulationMetaParams,
storage: StorageBuilder<true>,
controller: Cont,
) -> SimulationSetup<Dom, Cel, Cont>where
V: IntoIterator<Item = Cel>,
Construct a new SimulationSetup which is required to initialize the SimulationSupervisor.
Trait Implementations§
Source§impl<Dom: Clone, Cel: Clone, Cont: Clone> Clone for SimulationSetup<Dom, Cel, Cont>
impl<Dom: Clone, Cel: Clone, Cont: Clone> Clone for SimulationSetup<Dom, Cel, Cont>
Source§fn clone(&self) -> SimulationSetup<Dom, Cel, Cont>
fn clone(&self) -> SimulationSetup<Dom, Cel, Cont>
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 moreSource§impl<'de, Dom, Cel, Cont> Deserialize<'de> for SimulationSetup<Dom, Cel, Cont>
impl<'de, Dom, Cel, Cont> Deserialize<'de> for SimulationSetup<Dom, Cel, Cont>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<Dom, Cel, Cont> Freeze for SimulationSetup<Dom, Cel, Cont>
impl<Dom, Cel, Cont> RefUnwindSafe for SimulationSetup<Dom, Cel, Cont>
impl<Dom, Cel, Cont> Send for SimulationSetup<Dom, Cel, Cont>
impl<Dom, Cel, Cont> Sync for SimulationSetup<Dom, Cel, Cont>
impl<Dom, Cel, Cont> Unpin for SimulationSetup<Dom, Cel, Cont>
impl<Dom, Cel, Cont> UnwindSafe for SimulationSetup<Dom, Cel, Cont>
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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