Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Copy types must be trivially copiable bitwise (the clone implementation is returning the deref of the cloned type), so a copy is a move except for the fact that the previous reference is not invalidated.

The docs for the trait (core::marker::Copy) are pretty good



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: