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

source

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

§

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

§

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

§

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

§

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

§

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

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,