pub struct IndependentEmigrationExit<M: MathsCore, H: Habitat<M>, C: Decomposition<M, H>, E: EmigrationChoice<M, H>> { /* private fields */ }
Implementations§
source§impl<M: MathsCore, H: Habitat<M>, C: Decomposition<M, H>, E: EmigrationChoice<M, H>> IndependentEmigrationExit<M, H, C, E>
impl<M: MathsCore, H: Habitat<M>, C: Decomposition<M, H>, E: EmigrationChoice<M, H>> IndependentEmigrationExit<M, H, C, E>
Trait Implementations§
source§impl<M: MathsCore, H: Habitat<M>, C: Decomposition<M, H>, E: EmigrationChoice<M, H>> Backup for IndependentEmigrationExit<M, H, C, E>
impl<M: MathsCore, H: Habitat<M>, C: Decomposition<M, H>, E: EmigrationChoice<M, H>> Backup for IndependentEmigrationExit<M, H, C, E>
unsafe fn backup_unchecked(&self) -> Self
fn backup(&self) -> BackedUp<Self>
source§impl<M: Debug + MathsCore, H: Debug + Habitat<M>, C: Debug + Decomposition<M, H>, E: Debug + EmigrationChoice<M, H>> Debug for IndependentEmigrationExit<M, H, C, E>
impl<M: Debug + MathsCore, H: Debug + Habitat<M>, C: Debug + Decomposition<M, H>, E: Debug + EmigrationChoice<M, H>> Debug for IndependentEmigrationExit<M, H, C, E>
source§impl<M: MathsCore, H: Habitat<M>, C: Decomposition<M, H>, E: EmigrationChoice<M, H>, G: RngCore<M>> EmigrationExit<M, H, G, IndependentLineageStore<M, H>> for IndependentEmigrationExit<M, H, C, E>
impl<M: MathsCore, H: Habitat<M>, C: Decomposition<M, H>, E: EmigrationChoice<M, H>, G: RngCore<M>> EmigrationExit<M, H, G, IndependentLineageStore<M, H>> for IndependentEmigrationExit<M, H, C, E>
§fn optionally_emigrate(
&mut self,
global_reference: GlobalLineageReference,
dispersal_origin: IndexedLocation,
dispersal_target: Location,
prior_time: NonNegativeF64,
event_time: PositiveF64,
simulation: &mut PartialSimulation<M, H, G, S>,
rng: &mut G
) -> Option<(GlobalLineageReference, IndexedLocation, Location, NonNegativeF64, PositiveF64)>
fn optionally_emigrate( &mut self, global_reference: GlobalLineageReference, dispersal_origin: IndexedLocation, dispersal_target: Location, prior_time: NonNegativeF64, event_time: PositiveF64, simulation: &mut PartialSimulation<M, H, G, S>, rng: &mut G ) -> Option<(GlobalLineageReference, IndexedLocation, Location, NonNegativeF64, PositiveF64)>
Contracts Read more
Auto Trait Implementations§
impl<M, H, C, E> Freeze for IndependentEmigrationExit<M, H, C, E>
impl<M, H, C, E> RefUnwindSafe for IndependentEmigrationExit<M, H, C, E>
impl<M, H, C, E> Send for IndependentEmigrationExit<M, H, C, E>
impl<M, H, C, E> Sync for IndependentEmigrationExit<M, H, C, E>
impl<M, H, C, E> Unpin for IndependentEmigrationExit<M, H, C, E>
impl<M, H, C, E> UnwindSafe for IndependentEmigrationExit<M, H, C, E>
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