deborrow!() { /* proc-macro */ }
Expand description
A safe way to borrow multiple fields of a struct mutably at once.
This is just as safe to having an impl on the struct which takes &mut self and then accesses multiple of its own fields mutably, aka. completely safe.