3 ms·
I think the typical way to move from one lifetime to another, especially for a borrowed object, is copying?
by nine_k 8y ago
I think the typical way to move from one lifetime to another, especially for a borrowed object, is copying?
- idubrov 8y agoCloning is not always possible (performance reasons, non-cloneable data, etc) and would not necessarily remove lifetime (for example, it could be a struct, defined somewhere else, with a lifetime parameter).