glib

Function random_int

Source
pub fn random_int() -> u32
Expand description

Return a random #guint32 equally distributed over the range [0..2^32-1].

§Returns

a random number