Function sim_rust::functions::collect[][src]

pub fn collect(environment: &Box<dyn Environment>) -> Result<(), &'static str>
Expand description

Applies a collect to a passed in environment. This takes both the default environment provided by this library and custom defined environments created by the user.