pub fn gen_constructor_with_renames(
typ: &TypeDef,
mapper: &dyn TypeMapper,
cfg: &RustBindingConfig<'_>,
field_renames: Option<&HashMap<String, String>>,
) -> StringExpand description
Like gen_constructor but with field renames for keyword escaping.