fn get_index_type(clean_type: &Type, generics: Vec<RenderType>) -> RenderType