Function graph::rrand::get_random

source ·
pub fn get_random() -> usize
Expand description

Provides random number generation using the getrandom crate

Examples

use graph::rrand;

let random = rrand::get_random();
let random_ranged = rrand::get_random_ranged(0, 10);