#[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>, E: EventSampler<M, H, G, S, X, D, C, T, N>> {
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,
/* 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
§event_sampler: E
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>> PartialSimulation<M, H, G, S, X, D, C, T, N, E>
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>> PartialSimulation<M, H, G, S, X, D, C, T, N, E>
pub fn with_split_event_sampler<Q, F: FnOnce(&E, &PartialSimulation<M, H, G, S, X, D, C, T, N>) -> Q>( &self, func: F ) -> Q
pub fn with_mut_split_event_sampler<Q, F: FnOnce(&mut E, &mut PartialSimulation<M, H, G, S, X, D, C, T, N>) -> Q>( &mut self, func: F ) -> Q
Auto Trait Implementations§
impl<M, H, G, S, X, D, C, T, N, E> Freeze for PartialSimulation<M, H, G, S, X, D, C, T, N, E>
impl<M, H, G, S, X, D, C, T, N, E> RefUnwindSafe for PartialSimulation<M, H, G, S, X, D, C, T, N, E>where
H: RefUnwindSafe,
S: RefUnwindSafe,
D: RefUnwindSafe,
C: RefUnwindSafe,
T: RefUnwindSafe,
N: RefUnwindSafe,
X: RefUnwindSafe,
E: RefUnwindSafe,
M: RefUnwindSafe,
G: RefUnwindSafe,
impl<M, H, G, S, X, D, C, T, N, E> Send for PartialSimulation<M, H, G, S, X, D, C, T, N, E>
impl<M, H, G, S, X, D, C, T, N, E> Sync for PartialSimulation<M, H, G, S, X, D, C, T, N, E>
impl<M, H, G, S, X, D, C, T, N, E> Unpin for PartialSimulation<M, H, G, S, X, D, C, T, N, E>
impl<M, H, G, S, X, D, C, T, N, E> UnwindSafe for PartialSimulation<M, H, G, S, X, D, C, T, N, E>where
H: UnwindSafe,
S: UnwindSafe,
D: UnwindSafe,
C: UnwindSafe,
T: UnwindSafe,
N: UnwindSafe,
X: UnwindSafe,
E: 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