Skip to main content

bound_parameter_index

Function bound_parameter_index 

Source
pub fn bound_parameter_index(
    types: &dyn TypeDatabase,
    type_id: TypeId,
) -> Option<u32>
Expand description

Extract the De Bruijn index if this is a bound type parameter.