Размер типа ржавчины

std::mem::size_of::<T>()
// i.e. std::mem::size_of::<i32>() returns 4 
Frail Falcon