Crate deborrow

source ·

Macros

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

Structs

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

Traits

Functions

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