Trait RandomExpand

Source
pub trait RandomExpand {
    // Required method
    fn random_expand(
        &self,
        n_plus: usize,
        e_plus: usize,
        rng: &mut impl Rng,
    ) -> Self;
}

Required Methods§

Source

fn random_expand( &self, n_plus: usize, e_plus: usize, rng: &mut impl Rng, ) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, H> RandomExpand for H