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§
- modifier
- Dice modifiers and their related types.
- roller
- Abstractions for rolling
DieRoll
s using various means.
Structs§
- Builder
- Builds
Dice
with a fluent interface. - Dice
- 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.
- DieRoll
- Single die produced from rolling
Dice
and optionally applyingModifier
s - Rolled
- Representation of the result from rolling
Dice
- ValChange
- Details about a modification made to a
DieRoll
as a result of aModifier
being applied to it
Enums§
- Error
- An error resulting from a dice operation