[rust-dev] On Copy = POD

comex comexk at gmail.com
Sat Jun 21 12:24:35 PDT 2014


On Sat, Jun 21, 2014 at 1:52 PM, Igor Bukanov <igor at mir2.org> wrote:
> Another possibility is to allow for move-in-move-out params that moves
> the the value back to the caller when the function returns forcing the
> callee to use the clone call if it wants to store the argument for a
> later use.

It should be possible to do that already with a type like &Rc<T>...


More information about the Rust-dev mailing list