[−][src]Function mice::tupl_vec
pub fn tupl_vec(input: &str) -> Result<Vec<(i64, i64)>, RollError>
Get a Vec
of tuples of the form:
(number of dice, number of faces)
Constant terms are expressed in the form: (value, 1)
There is no guarantee of the order of terms.
The only possible error here is RollError::InvalidExpression
.
Other errors may be encountered in this function's complement:
roll_tupls
.