Skip to main content

gen_constructor

Function gen_constructor 

Source
pub fn gen_constructor(
    typ: &TypeDef,
    mapper: &dyn TypeMapper,
    cfg: &RustBindingConfig<'_>,
) -> String
Expand description

Generate a constructor method.