rand_enum

Crates.iorand_enum
lib.rsrand_enum
version0.1.0
sourcesrc
created_at2023-04-05 11:48:49.130383
updated_at2023-04-05 11:48:49.130383
descriptionImplement rand Distribution for an enum
homepage
repositoryhttps://github.com/jewlexx/rand_enum/
max_upload_size
id830982
size7,433
Juliette Cordor (jewlexx)

documentation

https://docs.rs/rand_enum

README

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

Commit count: 14

cargo fmt