Crate duals

Crate duals 

Source
Expand description

Dual-Ownership Reference Cells

These are similar to Rc and Arc, but ensure that only two references exist.

  • Rc is similar to Dual
  • Arc is similar to ADual

See the struct’s documentation for more details.

This Library uses UNSAFE! Use at your own RISK!

Structs§

ADual
A dual-ownership (atomic-sync) reference cell
Dual
A dual-ownership (non-sync) reference cell