pub trait Seedable: Sized {
    type Seed;
    type Seeded: Seeded<Config = Self>;

    fn seed(self, seed: Self::Seed) -> Self::Seeded;
}
Expand description

A ‘configuration’ struct which can be seeded with a Seed to create an instance of the type Seeded.

Required Associated Types

Required Methods

Seed this with seed to get an instance of Seeded.

Implementors