Skip to main content

elem_width

Function elem_width 

Source
pub fn elem_width<T>() -> u8
Expand description

Element width of a type, as stored in the header.

ยงReturns

size_of::<T>() as a byte.