size_of_val

Function size_of_val 

Source
pub const fn size_of_val<T>(_: &T) -> usize