style_derive::cg

Function map_type_params

source
pub(crate) fn map_type_params<F>(
    ty: &Type,
    params: &[&TypeParam],
    self_type: &Path,
    f: &mut F,
) -> Type
where F: FnMut(&Ident) -> Type,