I would like to generate random numbers using the crate rand_hc. The documentation states:
This implementation uses an output buffer of sixteen u32 words, and uses
BlockRng
to implement theRngCore
methods.
I am very new to rust and do not understand anything in the documentation. How can I just generate a random number in a range 0 to N?
Aucun commentaire:
Enregistrer un commentaire