[][src]Crate caith

caith is a dice roll expression parser and roller.

See README.md for more details

Structs

Dices

Iterator that lazily returns each dice of the expression

RepeatedRollResult

Represent a repeated roll. Can store the sum of all the roll if asked to. Usually created through RollResult::new_repeated() function.

RollResult

A RollResult contains either a single roll result, or if the roll is repeated, a list of the same roll different results. And a reason if needed.

Roller

An object holding the query

SingleRollResult

Carry the result of one roll and an history of the steps taken Usually created through RollResult::new_single() function.

Enums

RollError

The error reported

Type Definitions

Result

Result type used accross the library