partial move
Moving one field out of a value, leaving the rest.
A partial move takes ownership of some fields of a struct or tuple; the whole can no longer be used.
Examples
let title = book.title;moves theStringfield out;book.pagesstill works, but usingbookas a whole fails with E0382.
See also