Crate mitochondria [] [src]

Mitochondria is the powerhouse of the Cell.

This crate provides additional mutable containers for use cases not covered by the triumvirate of Cell, RefCell and UnsafeCell.

Structs

CloningCell

A mutable memory location that clones its contents on retrieval.

OnceCell

A mutable memory location that can be set only once.

Traits

NonSelfReferentialClone

A Clone implementation that will not access itself through reference cycles during cloning, which would introduce mutable aliasing.