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>

source

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>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

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>
where H: Freeze, S: Freeze, D: Freeze, C: Freeze, T: Freeze, N: Freeze, X: Freeze, E: Freeze, A: Freeze, G: Freeze, I: Freeze,

§

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>

§

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>
where H: Send, S: Send, D: Send, C: Send, T: Send, N: Send, X: Send, E: Send, A: Send, I: Send,

§

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>
where H: Sync, S: Sync, D: Sync, C: Sync, T: Sync, N: Sync, X: Sync, E: Sync, A: Sync, G: Sync, I: Sync,

§

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>
where H: Unpin, S: Unpin, D: Unpin, C: Unpin, T: Unpin, N: Unpin, X: Unpin, E: Unpin, A: Unpin, G: Unpin, I: Unpin, M: Unpin,

§

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>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> ExtractDiscriminant for T

§

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
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Erased for T

source§

impl<T> PortableBitSemantics for T
where T: PortableBitSemantics + ?Sized,

source§

impl<T> StackOnly for T
where T: StackOnly,