Type Definition dsmsg::Generator

source · []
pub type Generator = fn(_: &mut ThreadRng) -> Box<dyn DsMsg>;
Expand description

A Closure that takes an RNG State and returns a dynamic type that implements DsMsg.