Struct necsim_core::simulation::partial::event_sampler::PartialSimulation
source · #[repr(C)]pub struct PartialSimulation<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>> {
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,
/* private fields */
}
Fields§
§maths: PhantomData<M>
§habitat: H
§lineage_store: S
§dispersal_sampler: D
§coalescence_sampler: C
§turnover_rate: T
§speciation_probability: N
§emigration_exit: X
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>> PartialSimulation<M, H, G, S, X, D, C, T, N>
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>> PartialSimulation<M, H, G, S, X, D, C, T, N>
pub fn with_mut_split_emigration_exit<Q, F: FnOnce(&mut X, &mut PartialSimulation<M, H, G, S>) -> Q>( &mut self, func: F ) -> Q
Auto Trait Implementations§
impl<M, H, G, S, X, D, C, T, N> Freeze for PartialSimulation<M, H, G, S, X, D, C, T, N>
impl<M, H, G, S, X, D, C, T, N> RefUnwindSafe for PartialSimulation<M, H, G, S, X, D, C, T, N>where
H: RefUnwindSafe,
S: RefUnwindSafe,
D: RefUnwindSafe,
C: RefUnwindSafe,
T: RefUnwindSafe,
N: RefUnwindSafe,
X: RefUnwindSafe,
M: RefUnwindSafe,
G: RefUnwindSafe,
impl<M, H, G, S, X, D, C, T, N> Send for PartialSimulation<M, H, G, S, X, D, C, T, N>
impl<M, H, G, S, X, D, C, T, N> Sync for PartialSimulation<M, H, G, S, X, D, C, T, N>
impl<M, H, G, S, X, D, C, T, N> Unpin for PartialSimulation<M, H, G, S, X, D, C, T, N>
impl<M, H, G, S, X, D, C, T, N> UnwindSafe for PartialSimulation<M, H, G, S, X, D, C, T, N>where
H: UnwindSafe,
S: UnwindSafe,
D: UnwindSafe,
C: UnwindSafe,
T: UnwindSafe,
N: UnwindSafe,
X: UnwindSafe,
M: UnwindSafe,
G: 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