Crate thin [−] [src]
Provides thin pointer types to dynamically sized types that implement the DynSized
trait. By "thin", that means they store the metadata (i.e. slice length or vtable pointer) together with the data, instead of in the pointer itself. Currently provides ThinBox
, a thin version of Box
.
Reexports
pub extern crate dyn_sized; |
Structs
ThinBackend |
The storage format for thin pointers. Stores the metadata and the value together. |
ThinBox |
A thin version of |
Traits
AssembleSafe |
A marker trait for types implementing |
DynSized |
A trait for dynamically sized types, similar in principle to the |
FnMove |
A version of FnOnce that takes |