[−][src]Function mice::tuple_vec
pub fn tuple_vec(input: &str) -> Result<Vec<(i64, i64)>, ParseError>
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 Error::InvalidExpression
.
Other errors may be encountered in this function's complement:
roll_tuples
.