fn generate_erased_wrapper(input: &DeriveInput) -> TokenStreamExpand description
Generate the type-erased wrapper infrastructure for trait ABI dispatch.
For #[derive(ExternalPtr)] struct MyCounter { ... } generates:
__MxWrapperMyCounter- repr(C) wrapper with mx_erased header + data__MX_TAG_MYCOUNTER- concrete type tag (FNV-1a hash of module_path + type)__mx_drop_mycounter- destructor for R GC__MX_BASE_VTABLE_MYCOUNTER- base vtable with universal_query__mx_wrap_mycounter- constructor returning*mut mx_erased