tomb 0.2.0

A minimal crate that provides dice rolling mechanisms for games
Documentation
1
2
3
4
5
/// A trait that provides a known number of sides for a multi-sided element.
pub trait Polyhedral {
    /// Returns the number of sides present.
    fn sides() -> usize;
}