Expand description
ThinBox
implementation.
Based on
https://github.com/matthieu-m/rfc2580/blob/b58d1d3cba0d4b5e859d3617ea2d0943aaa31329/examples/thin.rs
by matthieu-m
Structsยง
- With
Header ๐ - A pointer to type-erased data, guaranteed to either be:
- With
Opaque ๐Header - An opaque representation of
WithHeader<H>
to avoid the projection invariance of<T as Pointee>::Metadata
. - ThinBox
Experimental - ThinBox.