#[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>

source

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

source

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

§

impl<M, H, G, S, X, D, C, T, N, E> RefUnwindSafe for PartialSimulation<M, H, G, S, X, D, C, T, N, E>

§

impl<M, H, G, S, X, D, C, T, N, E> Send for PartialSimulation<M, H, G, S, X, D, C, T, N, E>
where H: Send, S: Send, D: Send, C: Send, T: Send, N: Send, X: Send, E: Send,

§

impl<M, H, G, S, X, D, C, T, N, E> Sync for PartialSimulation<M, H, G, S, X, D, C, T, N, E>
where H: Sync, S: Sync, D: Sync, C: Sync, T: Sync, N: Sync, X: Sync, E: Sync, G: Sync,

§

impl<M, H, G, S, X, D, C, T, N, E> Unpin for PartialSimulation<M, H, G, S, X, D, C, T, N, E>
where H: Unpin, S: Unpin, D: Unpin, C: Unpin, T: Unpin, N: Unpin, X: Unpin, E: Unpin, M: Unpin, G: Unpin,

§

impl<M, H, G, S, X, D, C, T, N, E> UnwindSafe for PartialSimulation<M, H, G, S, X, D, C, T, N, E>

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,