Crate deborrow

Source

Macros§

deborrow
A safe way to borrow multiple fields of a struct mutably at once.

Structs§

Reference
A reference which can be shared between threads and converted back into normal refs anywhere.

Traits§

AsReference

Functions§

deborrow
Make the compiler forget about a borrow: A slightly safer variant to transmuting plainly.
deborrow_mut
Make the compiler forget about a borrow: A slightly safer variant to transmuting plainly.
ref_to_mut
Transforms a reference into a mutable reference of the same lifetime