Enum gurgle::roll::ItemRoll [−][src]
pub enum ItemRoll { Dice(DiceRoll), Number(i64), Parentheses(Box<RollTreeNode>), }
Expand description
Rolling result of a gurgle expression tree Item
Variants
rolling result of a dice item
Tuple Fields of Dice
0: DiceRoll
number item, rolling result is itself
Tuple Fields of Number
0: i64
rolling result of another sub expr, which is commonly wrapped by parentheses
Tuple Fields of Parentheses
0: Box<RollTreeNode>