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