Struct necsim_impls_no_std::cogs::dispersal_sampler::spatially_implicit::SpatiallyImplicitDispersalSampler    
source · pub struct SpatiallyImplicitDispersalSampler<M: MathsCore, G: RngCore<M>> { /* private fields */ }Implementations§
source§impl<M: MathsCore, G: RngCore<M>> SpatiallyImplicitDispersalSampler<M, G>
 
impl<M: MathsCore, G: RngCore<M>> SpatiallyImplicitDispersalSampler<M, G>
Trait Implementations§
source§impl<M: MathsCore, G: RngCore<M>> Clone for SpatiallyImplicitDispersalSampler<M, G>
 
impl<M: MathsCore, G: RngCore<M>> Clone for SpatiallyImplicitDispersalSampler<M, G>
source§impl<M: Debug + MathsCore, G: Debug + RngCore<M>> Debug for SpatiallyImplicitDispersalSampler<M, G>
 
impl<M: Debug + MathsCore, G: Debug + RngCore<M>> Debug for SpatiallyImplicitDispersalSampler<M, G>
source§impl<M: MathsCore, G: RngCore<M>> DispersalSampler<M, SpatiallyImplicitHabitat<M>, G> for SpatiallyImplicitDispersalSampler<M, G>
 
impl<M: MathsCore, G: RngCore<M>> DispersalSampler<M, SpatiallyImplicitHabitat<M>, G> for SpatiallyImplicitDispersalSampler<M, 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, G> RustToCuda for SpatiallyImplicitDispersalSampler<M, G>where
    G: RustToCuda + RngCore<M>,
 
impl<M: MathsCore, G> RustToCuda for SpatiallyImplicitDispersalSampler<M, G>where
    G: RustToCuda + RngCore<M>,
type CudaRepresentation = SpatiallyImplicitDispersalSamplerCudaRepresentation<M, G>
type CudaAllocation = CombinedCudaAlloc<<NonSpatialDispersalSampler<M, G> as RustToCuda>::CudaAllocation, CombinedCudaAlloc<<NonSpatialDispersalSampler<M, G> as RustToCuda>::CudaAllocation, NoCudaAlloc>>
source§impl<M: MathsCore, G> RustToCudaAsync for SpatiallyImplicitDispersalSampler<M, G>where
    G: RustToCudaAsync + RngCore<M>,
 
impl<M: MathsCore, G> RustToCudaAsync for SpatiallyImplicitDispersalSampler<M, G>where
    G: RustToCudaAsync + RngCore<M>,
source§impl<M: MathsCore, G: RngCore<M>> SeparableDispersalSampler<M, SpatiallyImplicitHabitat<M>, G> for SpatiallyImplicitDispersalSampler<M, G>
 
impl<M: MathsCore, G: RngCore<M>> SeparableDispersalSampler<M, SpatiallyImplicitHabitat<M>, G> for SpatiallyImplicitDispersalSampler<M, G>
§fn sample_non_self_dispersal_from_location(
    &self,
    location: &Location,
    habitat: &H,
    rng: &mut G
) -> Location
 
fn sample_non_self_dispersal_from_location( &self, location: &Location, habitat: &H, rng: &mut G ) -> Location
Contracts Read more
§fn get_self_dispersal_probability_at_location(
    &self,
    location: &Location,
    habitat: &H
) -> ClosedUnitF64
 
fn get_self_dispersal_probability_at_location( &self, location: &Location, habitat: &H ) -> ClosedUnitF64
Contracts Read more
Auto Trait Implementations§
impl<M, G> Freeze for SpatiallyImplicitDispersalSampler<M, G>
impl<M, G> RefUnwindSafe for SpatiallyImplicitDispersalSampler<M, G>where
    M: RefUnwindSafe,
    G: RefUnwindSafe,
impl<M, G> Send for SpatiallyImplicitDispersalSampler<M, G>
impl<M, G> Sync for SpatiallyImplicitDispersalSampler<M, G>where
    G: Sync,
impl<M, G> Unpin for SpatiallyImplicitDispersalSampler<M, G>
impl<M, G> UnwindSafe for SpatiallyImplicitDispersalSampler<M, G>where
    M: UnwindSafe,
    G: UnwindSafe,
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> LendToCuda for Twhere
    T: RustToCuda,
 
impl<T> LendToCuda for Twhere
    T: RustToCuda,
source§fn lend_to_cuda<O, E, F>(&self, inner: F) -> Result<O, E>where
    E: From<CudaError>,
    F: FnOnce(HostAndDeviceConstRef<'_, DeviceAccessible<<T as RustToCuda>::CudaRepresentation>>) -> Result<O, E>,
    T: Sync,
 
fn lend_to_cuda<O, E, F>(&self, inner: F) -> Result<O, E>where
    E: From<CudaError>,
    F: FnOnce(HostAndDeviceConstRef<'_, DeviceAccessible<<T as RustToCuda>::CudaRepresentation>>) -> Result<O, E>,
    T: Sync,
Lends an immutable borrow of 
&self to CUDA: Read moresource§fn lend_to_cuda_mut<O, E, F>(&mut self, inner: F) -> Result<O, E>where
    E: From<CudaError>,
    F: FnOnce(HostAndDeviceMutRef<'_, DeviceAccessible<<T as RustToCuda>::CudaRepresentation>>) -> Result<O, E>,
    T: Sync + SafeMutableAliasing,
 
fn lend_to_cuda_mut<O, E, F>(&mut self, inner: F) -> Result<O, E>where
    E: From<CudaError>,
    F: FnOnce(HostAndDeviceMutRef<'_, DeviceAccessible<<T as RustToCuda>::CudaRepresentation>>) -> Result<O, E>,
    T: Sync + SafeMutableAliasing,
source§fn move_to_cuda<O, E, F>(self, inner: F) -> Result<O, E>where
    E: From<CudaError>,
    F: FnOnce(HostAndDeviceOwned<'_, DeviceAccessible<<T as RustToCuda>::CudaRepresentation>>) -> Result<O, E>,
    T: Send + RustToCuda,
    <T as RustToCuda>::CudaRepresentation: StackOnly,
    <T as RustToCuda>::CudaAllocation: EmptyCudaAlloc,
 
fn move_to_cuda<O, E, F>(self, inner: F) -> Result<O, E>where
    E: From<CudaError>,
    F: FnOnce(HostAndDeviceOwned<'_, DeviceAccessible<<T as RustToCuda>::CudaRepresentation>>) -> Result<O, E>,
    T: Send + RustToCuda,
    <T as RustToCuda>::CudaRepresentation: StackOnly,
    <T as RustToCuda>::CudaAllocation: EmptyCudaAlloc,
source§impl<T> LendToCudaAsync for Twhere
    T: RustToCudaAsync,
 
impl<T> LendToCudaAsync for Twhere
    T: RustToCudaAsync,
source§fn lend_to_cuda_async<'stream, O, E, F>(
    &self,
    stream: Stream<'stream>,
    inner: F
) -> Result<O, E>where
    E: From<CudaError>,
    F: FnOnce(Async<'_, 'stream, HostAndDeviceConstRef<'_, DeviceAccessible<<T as RustToCuda>::CudaRepresentation>>>) -> Result<O, E>,
    T: Sync,
 
fn lend_to_cuda_async<'stream, O, E, F>(
    &self,
    stream: Stream<'stream>,
    inner: F
) -> Result<O, E>where
    E: From<CudaError>,
    F: FnOnce(Async<'_, 'stream, HostAndDeviceConstRef<'_, DeviceAccessible<<T as RustToCuda>::CudaRepresentation>>>) -> Result<O, E>,
    T: Sync,
Lends an immutable copy of 
&self to CUDA: Read more