Calling closures in a Vec in rust.