pub fn gen_constructor(
typ: &TypeDef,
mapper: &dyn TypeMapper,
cfg: &RustBindingConfig<'_>,
) -> StringExpand description
Generate a constructor method.
pub fn gen_constructor(
typ: &TypeDef,
mapper: &dyn TypeMapper,
cfg: &RustBindingConfig<'_>,
) -> StringGenerate a constructor method.