pub fn gen_static_method(
method: &MethodDef,
mapper: &dyn TypeMapper,
cfg: &RustBindingConfig<'_>,
typ: &TypeDef,
adapter_bodies: &AdapterBodies,
opaque_types: &AHashSet<String>,
) -> StringExpand description
Generate a static method.