| ▲ | AlotOfReading 5 hours ago | |||||||
Traits with Copy can do that, I'm just saying they're not really implicit copies because it's a core, visible part of the language that the developer can control on all of their own types. | ||||||||
| ▲ | whatis991 5 hours ago | parent [-] | |||||||
But do bitwise copies when moving not also possibly incur that, even without Copy? If the optimizer doesn't optimize it away? Since movement can happen by copying bits and releasing the old bits, as long as there is no UnsafeCell in the type, or something along those lines? https://www.reddit.com/r/rust/comments/vo31dw/comment/ieao7v... | ||||||||
| ||||||||