Answers for "rust size of type"

1

rust size of type

std::mem::size_of::<T>()
// i.e. std::mem::size_of::<i32>() returns 4
Posted by: Guest on June-11-2021

Browse Popular Code Answers by Language