Function std::sys::nonzero_size_of

pub fn nonzero_size_of<T>() -> uint

Returns the size of a type, or 1 if the actual size is zero.

Useful for building structures containing variable-length arrays.