Function ring::rand::generate [−][src]
pub fn generate<T: RandomlyConstructable>(
rng: &dyn SecureRandom
) -> Result<Random<T>, Unspecified> where
T: RandomlyConstructable,
Expand description
Generate the new random value using rng
.