Function tyche::parse::dice_part

source ·
pub fn dice_part<'src>(
) -> impl Parser<'src, &'src str, Dice, Err<Rich<'src, char>>> + Copy
Expand description

Generates a parser that specifically handles dice with or without modifiers like “d20”, “2d20kh”, “8d6x”, etc.