pub(crate) fn rewrite(sig: &mut Signature, body: Option<&mut Block>)
Keep the source signature for wrapper metadata; rewrite only the emitted Rust trait/impl. The associated function takes its borrowed handle by value.