Module roller

Source
Expand description

Abstractions for rolling DieRolls using various means.

Structs§

FastRand
Generates rolls with random values using [fastrand]. Requires the fastrand feature (enabled by default).
Iter
Generates rolls from an iterator of values. Mainly useful for testing purposes.
Max
Generates rolls that always have their max value.
Val
Generates rolls that always have a specific value.

Traits§

Roller
Rolls dice - what else is there to say?