#[repr(C)]pub struct WyHash<M: MathsCore> { /* private fields */ }
Trait Implementations§
source§impl<'de, M: MathsCore> Deserialize<'de> for WyHash<M>
impl<'de, M: MathsCore> Deserialize<'de> for WyHash<M>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<M: MathsCore> PrimeableRng<M> for WyHash<M>
impl<M: MathsCore> PrimeableRng<M> for WyHash<M>
fn prime_with(&mut self, location_index: u64, time_index: u64)
source§impl<M: MathsCore> TypeLayout for WyHash<M>
impl<M: MathsCore> TypeLayout for WyHash<M>
§type Inhabited = <And<<u64 as TypeLayout>::Inhabited, <And<<u64 as TypeLayout>::Inhabited, <And<<PhantomData<M> as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output> as ComputeInhabited>::Output> as ComputeInhabited>::Output
type Inhabited = <And<<u64 as TypeLayout>::Inhabited, <And<<u64 as TypeLayout>::Inhabited, <And<<PhantomData<M> as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output> as ComputeInhabited>::Output> as ComputeInhabited>::Output
Marker type for whether the type is
inhabited or
uninhabited.
The associated type must be either [
inhabited::Inhabited
]
or [inhabited::Uninhabited
].source§const TYPE_LAYOUT: TypeLayoutInfo<'static> = _
const TYPE_LAYOUT: TypeLayoutInfo<'static> = _
Shallow layout of the type.
Auto Trait Implementations§
impl<M> Freeze for WyHash<M>
impl<M> RefUnwindSafe for WyHash<M>where
M: RefUnwindSafe,
impl<M> Send for WyHash<M>
impl<M> Sync for WyHash<M>
impl<M> Unpin for WyHash<M>where
M: Unpin,
impl<M> UnwindSafe for WyHash<M>where
M: 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 more§impl<M, R, H> HabitatPrimeableRng<M, H> for Rwhere
M: MathsCore,
R: PrimeableRng<M>,
H: Habitat<M>,
impl<M, R, H> HabitatPrimeableRng<M, H> for Rwhere
M: MathsCore,
R: PrimeableRng<M>,
H: Habitat<M>,
fn prime_with_habitat( &mut self, habitat: &H, indexed_location: &IndexedLocation, time_index: u64 )
§impl<M, R> RngSampler<M> for Rwhere
M: MathsCore,
R: RngCore<M>,
impl<M, R> RngSampler<M> for Rwhere
M: MathsCore,
R: RngCore<M>,
§fn sample_uniform_closed_open(&mut self) -> ClosedOpenUnitF64
fn sample_uniform_closed_open(&mut self) -> ClosedOpenUnitF64
Samples a uniform sample within
[0.0, 1.0)
, i.e. 0.0 <= X < 1.0
§fn sample_uniform_open_closed(&mut self) -> OpenClosedUnitF64
fn sample_uniform_open_closed(&mut self) -> OpenClosedUnitF64
Samples a uniform sample within
(0.0, 1.0]
, i.e. 0.0 < X <= 1.0
fn sample_exponential(&mut self, lambda: PositiveF64) -> NonNegativeF64
fn sample_event(&mut self, probability: ClosedUnitF64) -> bool
fn sample_2d_standard_normal(&mut self) -> (f64, f64)
fn sample_2d_normal(&mut self, mu: f64, sigma: NonNegativeF64) -> (f64, f64)
§impl<M, R> SeedableRng<M> for Rwhere
M: MathsCore,
R: RngCore<M>,
impl<M, R> SeedableRng<M> for Rwhere
M: MathsCore,
R: RngCore<M>,
fn seed_from_u64(state: u64) -> Self
§impl<T> TypeGraphLayout for Twhere
T: TypeLayout + ComputeTypeSet,
impl<T> TypeGraphLayout for Twhere
T: TypeLayout + ComputeTypeSet,
§const TYPE_GRAPH: TypeLayoutGraph<'static> = _
const TYPE_GRAPH: TypeLayoutGraph<'static> = _
Shallow layout of the type.