Module tyche::dice::roller

source ·
Expand description

Abstractions for rolling DieRolls using various means.

Structs§

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

Traits§

  • Rolls dice - what else is there to say?