Module prelude

Module prelude 

Source
Expand description

Contains the most useful imports for writing tests and value generators.

Re-exports§

pub use crate::codice;
pub use crate::dice;
pub use crate::hints;
pub use crate::stats;
pub use crate::Codie;
pub use crate::Dicetest;
pub use crate::Die;
pub use crate::DieOnce;
pub use crate::Fate;

Macros§

hint
Adds a hint that contains the arguments applied to the format macro.
hint_debug
Adds a hint that contains the stringified argument and the argument value converted with Debug.
stat
Creates a stat with the first argument as stat key and the remaining arguments applied to the format macro as stat value.
stat_debug
Creates a stat with the stringified argument as stat key and the argument value converted with Debug as stat value.