nostd_structs 0.5.0

Datastructures and algorithms for nostd environments
Documentation
1
2
3
4
5
6
7
8
//! Random number generator algorithms
pub mod lcg;

/// A trait for random number generators
pub trait RandomNumberGenerator {
    /// Generate the next random number
    fn next(&mut self) -> u64;
}