Crate manually_static

Source

Structsยง

ManuallyStatic
ManuallyStatic<T> holds a value T and provides references to it with checking with debug_assertions.
ManuallyStaticRef
A reference to the value held by ManuallyStatic<T>. In debug builds, it will panic if dereferenced after the original ManuallyStatic has been dropped.
ManuallyStaticRefMut
A mutable reference to the value held by ManuallyStatic<T>. In debug builds, it will panic if dereferenced after the original ManuallyStatic has been dropped.