Expand description
Subroutines to help implementers of TypeFoldable
avoid unnecessary heap allocations.
Structs
- Takes ownership of a
Vec
that is being mapped in place, cleaning up if the map fails.
Functions
- Maps a
Box<T>
to aBox<U>
, reusing the underlying storage if possible. - Maps a
Vec<T>
to aVec<U>
, reusing the underlying storage if possible. - is_zst 🔒