RFC PR 1398 proposes a trait for user-defined allocators. As part of the API, it proposes a helper type, named Kind, for describing the layout of a block of memory.
People have pointed out that the word “Kind” may end up confusing things if/when Rust adds support for “higher kinded types” (HKT).
@glaeboerhl has suggested that we rename “Kind” to something else, and proposed “Shape”:
So, what do people think? I have no personal stake in the word “Kind”; I could also imagine other words. So here’s a quick list:
- “Kind”
- “Shape”
- “Layout”
- “BlockConstraints”
Thoughts?