`mem::size_of()` is not a const function, even though it is _always_ a compile-time constant. This is seemingly arbitrary and is annoying in practice.