#[derive(Rand)] { // Attributes available to this derive: #[custom_rand] #[weight] }
Derive Rand for any enum or struct