Derive Macro Rand

Source
#[derive(Rand)]
{
    // Attributes available to this derive:
    #[custom_rand]
    #[weight]
}
Expand description

Derive Rand for any enum or struct