Skip to main content

empty_type_params

Function empty_type_params 

Source
pub fn empty_type_params() -> Arc<[Type]>
Expand description

Returns a cached empty Arc<[Type]> for type_params / parts fields. Re-uses a single Arc allocation so all empty parameter lists share one control block instead of allocating one per TNamedObject construction.