Skip to main content

size_of_type_id

Function size_of_type_id 

Source
pub const fn size_of_type_id(_id: TypeId) -> Option<usize>
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Gets the size of the type represented by this TypeId.

The stabilized version of this intrinsic is core::any::TypeId::size.