u64

Function u64 

Source
pub fn u64() -> u64
Expand description

Will generate a random u64

ยงExample

let a: u64 = hel_random::u64();
let b: u64 = hel_random::u64();
// Examples generated by macro, so we check if type is `bool` or `i8` or `u8` to avoid collisions
if std::mem::size_of::<u64>() > 1 {
    assert!(a != b);
}