Function rollz::roll[][src]

pub fn roll<T: Rollable>() -> T

A generic function to roll a given die. It uses return type polymorphism so it will roll the die you actually want! Boom, like magic!