Module tyche::dice

source ·
Expand description

All functionality for directly creating dice, rolling them, and working with their resulting rolls.

This is the home of the dice “primitives”. For using as part of a larger expression, see Expr::dice.

Re-exports§

Modules§

  • Dice modifiers and their related types.
  • Abstractions for rolling DieRolls using various means.

Structs§

  • Builds Dice with a fluent interface.
  • A set of one or more rollable dice with a specific number of sides, along with a collection of modifiers to apply to any resulting rolls from them.
  • Single die produced from rolling Dice and optionally applying Modifiers
  • Representation of the result from rolling Dice
  • Details about a modification made to a DieRoll as a result of a Modifier being applied to it

Enums§

  • An error resulting from a dice operation