Crate leaky_cow [] [src]

Leaky cows: convert a clone-on-write reference into a plain reference. If it's just the plain reference, just return that. If it's the owned structure, leak it and return a reference to it.

Traits

LeakyCow