Enum gurgle::expr::PostProcessor [−][src]
pub enum PostProcessor { Sum, Avg, Max, Min, }
Expand description
Post processing action after a round of dice roll
Example
3d6
default to sum of roll a 6 sides dice 3 times3d6max
means get the max value of those 3 result3d6min
means get the min value of those 3 result3d6avg
means get the avg value of those 3 result
Variants
get sum of all roll, default action
get avg value of all roll, will round down(floor) if not divisible
get max value of all roll
get min value of all roll
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PostProcessor
impl Send for PostProcessor
impl Sync for PostProcessor
impl Unpin for PostProcessor
impl UnwindSafe for PostProcessor
Blanket Implementations
Mutably borrows from an owned value. Read more