Struct necsim_impls_no_std::cogs::dispersal_sampler::in_memory::alias::InMemoryAliasDispersalSampler
source · pub struct InMemoryAliasDispersalSampler<M: MathsCore, H: Habitat<M>, G: RngCore<M>> { /* private fields */ }
Trait Implementations§
source§impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>> Clone for InMemoryAliasDispersalSampler<M, H, G>
impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>> Clone for InMemoryAliasDispersalSampler<M, H, G>
source§impl<M: Debug + MathsCore, H: Debug + Habitat<M>, G: Debug + RngCore<M>> Debug for InMemoryAliasDispersalSampler<M, H, G>
impl<M: Debug + MathsCore, H: Debug + Habitat<M>, G: Debug + RngCore<M>> Debug for InMemoryAliasDispersalSampler<M, H, G>
source§impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>> DispersalSampler<M, H, G> for InMemoryAliasDispersalSampler<M, H, G>
impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>> DispersalSampler<M, H, G> for InMemoryAliasDispersalSampler<M, H, G>
§fn sample_dispersal_from_location(
&self,
location: &Location,
habitat: &H,
rng: &mut G
) -> Location
fn sample_dispersal_from_location( &self, location: &Location, habitat: &H, rng: &mut G ) -> Location
Contracts Read more
source§impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>> InMemoryDispersalSampler<M, H, G> for InMemoryAliasDispersalSampler<M, H, G>
impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>> InMemoryDispersalSampler<M, H, G> for InMemoryAliasDispersalSampler<M, H, G>
Auto Trait Implementations§
impl<M, H, G> Freeze for InMemoryAliasDispersalSampler<M, H, G>
impl<M, H, G> RefUnwindSafe for InMemoryAliasDispersalSampler<M, H, G>
impl<M, H, G> Send for InMemoryAliasDispersalSampler<M, H, G>where
H: Send,
impl<M, H, G> Sync for InMemoryAliasDispersalSampler<M, H, G>
impl<M, H, G> Unpin for InMemoryAliasDispersalSampler<M, H, G>
impl<M, H, G> UnwindSafe for InMemoryAliasDispersalSampler<M, H, G>
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 more