Expand description
Types implementing Into<Option<Layout>>
, for use with
BumpInto::available_spaces
and BumpInto::alloc_space
.
These are mostly an implementation detail, but they may be useful to users of the crate. By using one of these types, you allow the conversion to be inlined into the function that calls it, which may enable significant optimizations by the compiler.