Type Definition Rule
libssg
type Rule = Box<dyn FnOnce(&mut State) -> Result<(), Box<dyn Error>>>;
Rules are generation steps, that is, separate steps in the generation process. They can alter State however they like.
Rule
State