[−][src]Crate caith
caith
is a dice roll expression parser and roller.
See README.md for more details
Structs
DiceResult | Carry one dice result and a marker field to say if it the result is a min, max, or none. |
Dices | Iterator that lazily returns each dice of the expression. |
RepeatedRollResult | Represent a repeated roll. |
RollResult | Carry the result of the roll. |
Roller | An object holding the query. |
SingleRollResult | Carry the result of one roll and an history of the steps taken. |
Enums
Critic | Used to mark a dice roll if its result is a critic. |
RollError | The error reported |
RollHistory | Carry one step of the history that led to the result. |
RollResultType | Distinguish between a simple roll and a repeated roll using |
Value | Carry a constant, either an |
Type Definitions
Result | Result type used accross the library |