std::intrinsics::size_of
pub extern fn size_of<T>() -> uint
The size of a type in bytes.
This is the exact number of bytes in memory taken up by a value of the given type. In other words, a memset of this size would exactly overwrite a value. When laid out in vectors and structures there may be additional padding between elements.