Trait rand_gen::RandGen

source ·
pub trait RandGen {
    // Required method
    fn random<R: Rng + ?Sized>(rng: &mut R) -> Self;
}

Required Methods§

source

fn random<R: Rng + ?Sized>(rng: &mut R) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> RandGen for T