Crate rand_enum

Source
Expand description

§Rand Enum

Supplies a derive macro that implements the rand standard distribution for an enum, with optional weighting.

NOTE: This currently requires the default features of the rand crate and thus is not #![no_std] compatible

Made with 💗 by Juliette Cordor

Derive Macros§

Distribution
Implements rand::distributions::Distribution for a given enum