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>.
For types with &mut self methods, uses Arc<Mutex<core::Type>>.