pub fn gen_opaque_struct(typ: &TypeDef, cfg: &RustBindingConfig<'_>) -> StringExpand description
Generate an opaque wrapper struct with inner: Arc<core::Type>.
For trait types, uses Arc<dyn Type + Send + Sync>.
pub fn gen_opaque_struct(typ: &TypeDef, cfg: &RustBindingConfig<'_>) -> StringGenerate an opaque wrapper struct with inner: Arc<core::Type>.
For trait types, uses Arc<dyn Type + Send + Sync>.