It's the same as the difference between static dispatch via generics and dynamic dispatch via boxed trait objects. At the moment, Rust only has an equivalent to `&mut Trait` for closures and no uniquely typed unboxed closures like C++. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
- Re: [rust-dev] Thoughts on the Rust R... Patrick Walton
- Re: [rust-dev] Thoughts on the Ru... Huon Wilson
- Re: [rust-dev] Thoughts on the Rust Roadmap Oren Ben-Kiki
- Re: [rust-dev] Thoughts on the Rust Roadmap Daniel Micay
- Re: [rust-dev] Thoughts on the Rust Roadma... Oren Ben-Kiki
- Re: [rust-dev] Thoughts on the Rust R... Patrick Walton
- Re: [rust-dev] Thoughts on the Ru... Oren Ben-Kiki
- Re: [rust-dev] Thoughts on the Ru... Patrick Walton
- Re: [rust-dev] Thoughts on the Ru... Oren Ben-Kiki
- Re: [rust-dev] Thoughts on the Ru... Patrick Walton
- Re: [rust-dev] Thoughts on the Ru... Daniel Micay
- Re: [rust-dev] Thoughts on the Rust Roadmap Huon Wilson
- Re: [rust-dev] Thoughts on the Rust Roadmap spir
