Crate dice [−] [src]
A dice rolling and statistics library.
Modules
syntax |
Dice rolling expression syntax. |
Macros
d |
Constructs a new |
Structs
Dice |
A set of same-sized dice. |
Die |
A die. |
Ratio |
A ratio between two integers. |
Reroll |
An inclusive upper bound on rolls that should be rerolled once. |
Enums
Binary |
An operation used to combine the results of two dice rolling expressions. |
Expression |
A dice rolling expression. |
Fold |
An operation used to combine the results of rolling a set of same-sized dice. |
Type Definitions
DiceResult |
The result of rolling a set of same-sized dice. |
DieResult |
The result of rolling a die. |