1 2 3 4 5 6 7 8 9 10 11
/// Uniform random distribution with optional parameter. pub struct StandardDyn<'a, C> { pub ctx: &'a C, } impl<'a, C> StandardDyn<'a, C> { /// Creates a new distribution object. pub fn new(ctx: &'a C) -> Self { Self { ctx } } }