pub enum WrappingNoiseScenario {}
Trait Implementations§
source§impl Clone for WrappingNoiseScenario
impl Clone for WrappingNoiseScenario
source§fn clone(&self) -> WrappingNoiseScenario
fn clone(&self) -> WrappingNoiseScenario
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<M: MathsCore, G: RngCore<M>> Scenario<M, G> for WrappingNoiseScenario
impl<M: MathsCore, G: RngCore<M>> Scenario<M, G> for WrappingNoiseScenario
type Decomposition = RadialDecomposition
type DecompositionAuxiliary = ()
type DispersalSampler = WrappingNoiseApproximateNormalDispersalSampler<M, G>
type Habitat = WrappingNoiseHabitat<M>
type LineageStore<L: LineageStore<M, Self::Habitat>> = SingletonDemesLineageStore<M, <WrappingNoiseScenario as Scenario<M, G>>::Habitat>
type OriginSampler<'h, I: Iterator<Item = u64>> = SingletonDemesRectangleOriginSampler<'h, M, <WrappingNoiseScenario as Scenario<M, G>>::Habitat, I> where G: 'h
type OriginSamplerAuxiliary = (LandscapeExtent,)
type SpeciationProbability = UniformSpeciationProbability
type TurnoverRate = UniformTurnoverRate
source§fn new(
args: Self::Arguments,
speciation_probability_per_generation: PositiveUnitF64
) -> Result<ScenarioCogs<M, G, Self>, Self::Error>
fn new( args: Self::Arguments, speciation_probability_per_generation: PositiveUnitF64 ) -> Result<ScenarioCogs<M, G, Self>, Self::Error>
Errors Read more
fn sample_habitat<'h, I: Iterator<Item = u64>>(
habitat: &'h Self::Habitat,
pre_sampler: OriginPreSampler<M, I>,
(sample): Self::OriginSamplerAuxiliary
) -> Self::OriginSampler<'_, I>where
G: 'h,
fn decompose( _habitat: &Self::Habitat, subdomain: Partition, _auxiliary: Self::DecompositionAuxiliary ) -> Self::Decomposition
Auto Trait Implementations§
impl Freeze for WrappingNoiseScenario
impl RefUnwindSafe for WrappingNoiseScenario
impl Send for WrappingNoiseScenario
impl Sync for WrappingNoiseScenario
impl Unpin for WrappingNoiseScenario
impl UnwindSafe for WrappingNoiseScenario
Blanket Implementations§
§impl<T> Backup for Twhere
T: Clone,
impl<T> Backup for Twhere
T: Clone,
default unsafe fn backup_unchecked(&self) -> T
default unsafe fn __contracts_impl_backup_unchecked(&self) -> T
fn backup(&self) -> BackedUp<Self>
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 moresource§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more