Skip to main content

rewrite

Function rewrite 

Source
pub(crate) fn rewrite(sig: &mut Signature, body: Option<&mut Block>)
Expand description

Keep the source signature for wrapper metadata; rewrite only the emitted Rust trait/impl. The associated function takes its borrowed handle by value.