pub fn gen_impl_block_with_renames(
typ: &TypeDef,
mapper: &dyn TypeMapper,
cfg: &RustBindingConfig<'_>,
adapter_bodies: &AdapterBodies,
opaque_types: &AHashSet<String>,
field_renames: Option<&HashMap<String, String>>,
) -> StringExpand description
Like gen_impl_block but with field renames for keyword escaping in the constructor.