Struct necsim_impls_no_std::cogs::dispersal_sampler::trespassing::uniform::UniformAntiTrespassingDispersalSampler
source · pub struct UniformAntiTrespassingDispersalSampler<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> { /* private fields */ }
Trait Implementations§
source§impl<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> AntiTrespassingDispersalSampler<M, H, G> for UniformAntiTrespassingDispersalSampler<M, H, G>
impl<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> AntiTrespassingDispersalSampler<M, H, G> for UniformAntiTrespassingDispersalSampler<M, H, G>
source§impl<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> Backup for UniformAntiTrespassingDispersalSampler<M, H, G>
impl<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> Backup for UniformAntiTrespassingDispersalSampler<M, H, G>
unsafe fn backup_unchecked(&self) -> Self
fn backup(&self) -> BackedUp<Self>
source§impl<M: Debug + MathsCore, H: Debug + UniformlySampleableHabitat<M, G>, G: Debug + RngCore<M>> Debug for UniformAntiTrespassingDispersalSampler<M, H, G>
impl<M: Debug + MathsCore, H: Debug + UniformlySampleableHabitat<M, G>, G: Debug + RngCore<M>> Debug for UniformAntiTrespassingDispersalSampler<M, H, G>
source§impl<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> Default for UniformAntiTrespassingDispersalSampler<M, H, G>
impl<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> Default for UniformAntiTrespassingDispersalSampler<M, H, G>
source§impl<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> RustToCuda for UniformAntiTrespassingDispersalSampler<M, H, G>
impl<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> RustToCuda for UniformAntiTrespassingDispersalSampler<M, H, G>
type CudaRepresentation = UniformAntiTrespassingDispersalSamplerCudaRepresentation<M, H, G>
type CudaAllocation = NoCudaAlloc
source§impl<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> RustToCudaAsync for UniformAntiTrespassingDispersalSampler<M, H, G>
impl<M: MathsCore, H: UniformlySampleableHabitat<M, G>, G: RngCore<M>> RustToCudaAsync for UniformAntiTrespassingDispersalSampler<M, H, G>
type CudaAllocationAsync = NoCudaAlloc
Auto Trait Implementations§
impl<M, H, G> Freeze for UniformAntiTrespassingDispersalSampler<M, H, G>
impl<M, H, G> RefUnwindSafe for UniformAntiTrespassingDispersalSampler<M, H, G>
impl<M, H, G> Send for UniformAntiTrespassingDispersalSampler<M, H, G>where
H: Send,
impl<M, H, G> Sync for UniformAntiTrespassingDispersalSampler<M, H, G>
impl<M, H, G> Unpin for UniformAntiTrespassingDispersalSampler<M, H, G>
impl<M, H, G> UnwindSafe for UniformAntiTrespassingDispersalSampler<M, H, G>
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 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