Struct necsim_core::simulation::SimulationBuilder
source · pub struct SimulationBuilder<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: LineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: DispersalSampler<M, H, G>, C: CoalescenceSampler<M, H, S>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>, E: EventSampler<M, H, G, S, X, D, C, T, N>, I: ImmigrationEntry<M>, A: ActiveLineageSampler<M, H, G, S, X, D, C, T, N, E, I>> {
pub maths: PhantomData<M>,
pub habitat: H,
pub lineage_store: S,
pub dispersal_sampler: D,
pub coalescence_sampler: C,
pub turnover_rate: T,
pub speciation_probability: N,
pub emigration_exit: X,
pub event_sampler: E,
pub active_lineage_sampler: A,
pub rng: G,
pub immigration_entry: I,
}
Fields§
§maths: PhantomData<M>
§habitat: H
§lineage_store: S
§dispersal_sampler: D
§coalescence_sampler: C
§turnover_rate: T
§speciation_probability: N
§emigration_exit: X
§event_sampler: E
§active_lineage_sampler: A
§rng: G
§immigration_entry: I
Implementations§
source§impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: LineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: DispersalSampler<M, H, G>, C: CoalescenceSampler<M, H, S>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>, E: EventSampler<M, H, G, S, X, D, C, T, N>, I: ImmigrationEntry<M>, A: ActiveLineageSampler<M, H, G, S, X, D, C, T, N, E, I>> SimulationBuilder<M, H, G, S, X, D, C, T, N, E, I, A>
impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: LineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: DispersalSampler<M, H, G>, C: CoalescenceSampler<M, H, S>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>, E: EventSampler<M, H, G, S, X, D, C, T, N>, I: ImmigrationEntry<M>, A: ActiveLineageSampler<M, H, G, S, X, D, C, T, N, E, I>> SimulationBuilder<M, H, G, S, X, D, C, T, N, E, I, A>
pub fn build(self) -> Simulation<M, H, G, S, X, D, C, T, N, E, I, A>
Trait Implementations§
source§impl<M: Debug + MathsCore, H: Debug + Habitat<M>, G: Debug + RngCore<M>, S: Debug + LineageStore<M, H>, X: Debug + EmigrationExit<M, H, G, S>, D: Debug + DispersalSampler<M, H, G>, C: Debug + CoalescenceSampler<M, H, S>, T: Debug + TurnoverRate<M, H>, N: Debug + SpeciationProbability<M, H>, E: Debug + EventSampler<M, H, G, S, X, D, C, T, N>, I: Debug + ImmigrationEntry<M>, A: Debug + ActiveLineageSampler<M, H, G, S, X, D, C, T, N, E, I>> Debug for SimulationBuilder<M, H, G, S, X, D, C, T, N, E, I, A>
impl<M: Debug + MathsCore, H: Debug + Habitat<M>, G: Debug + RngCore<M>, S: Debug + LineageStore<M, H>, X: Debug + EmigrationExit<M, H, G, S>, D: Debug + DispersalSampler<M, H, G>, C: Debug + CoalescenceSampler<M, H, S>, T: Debug + TurnoverRate<M, H>, N: Debug + SpeciationProbability<M, H>, E: Debug + EventSampler<M, H, G, S, X, D, C, T, N>, I: Debug + ImmigrationEntry<M>, A: Debug + ActiveLineageSampler<M, H, G, S, X, D, C, T, N, E, I>> Debug for SimulationBuilder<M, H, G, S, X, D, C, T, N, E, I, A>
Auto Trait Implementations§
impl<M, H, G, S, X, D, C, T, N, E, I, A> Freeze for SimulationBuilder<M, H, G, S, X, D, C, T, N, E, I, A>
impl<M, H, G, S, X, D, C, T, N, E, I, A> RefUnwindSafe for SimulationBuilder<M, H, G, S, X, D, C, T, N, E, I, A>where
H: RefUnwindSafe,
S: RefUnwindSafe,
D: RefUnwindSafe,
C: RefUnwindSafe,
T: RefUnwindSafe,
N: RefUnwindSafe,
X: RefUnwindSafe,
E: RefUnwindSafe,
A: RefUnwindSafe,
G: RefUnwindSafe,
I: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, H, G, S, X, D, C, T, N, E, I, A> Send for SimulationBuilder<M, H, G, S, X, D, C, T, N, E, I, A>
impl<M, H, G, S, X, D, C, T, N, E, I, A> Sync for SimulationBuilder<M, H, G, S, X, D, C, T, N, E, I, A>
impl<M, H, G, S, X, D, C, T, N, E, I, A> Unpin for SimulationBuilder<M, H, G, S, X, D, C, T, N, E, I, A>
impl<M, H, G, S, X, D, C, T, N, E, I, A> UnwindSafe for SimulationBuilder<M, H, G, S, X, D, C, T, N, E, I, A>where
H: UnwindSafe,
S: UnwindSafe,
D: UnwindSafe,
C: UnwindSafe,
T: UnwindSafe,
N: UnwindSafe,
X: UnwindSafe,
E: UnwindSafe,
A: UnwindSafe,
G: UnwindSafe,
I: UnwindSafe,
M: 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
§impl<T> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more