Skip to main content

gen_opaque_struct

Function gen_opaque_struct 

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

Generate an opaque wrapper struct with inner: Arc<core::Type>. For trait types, uses Arc<dyn Type + Send + Sync>.