Luna::get_type_size

usize get_type_size(typeinfo_t type)

Gets the size of the specified type.

Parameters

  • in type

    The type object.

Return value

Returns the size of the specified type in bytes.

Valid Usage

  • type must specify one valid type object.