Trait necsim_core::cogs::rng::RngCore
source · pub trait RngCore<M: MathsCore>: Backup + Sized + Send + Clone + Debug + Serialize + DeserializeOwned {
type Seed: AsMut<[u8]> + Default + Sized;
// Required methods
fn from_seed(seed: Self::Seed) -> Self;
fn sample_u64(&mut self) -> u64;
}
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.