Crate tupperware

Crate tupperware 

Source
Expand description

§Tupperware

This crate allows you to express polymorphism over how your data is stored.

Structs§

Arc
Store the value in an atomic reference-counted heap allocation Arc.
Box
Store the value in a heap allocation using Box.
Inline
Store the value inline.
Rc
Store the value in a reference-counted heap allocation Rc(std::sync::Rc].
Ref
Store the value as a reference.

Traits§

SizedRepresentation
Maps a (potentially unsized) type to its sized representation.
Storage
Storage kind for values.