RFC: Clone for Generator

Hi all.

I’m writing a discrete-time events simulator in rust: desim.

I wanted to use generators in order to have ease of use and efficiency.

In this kind of application it would be useful to have the possibility to clone the state machine without copying the state in which the coroutine is.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.