Skip to main content

inherit_method_metadata

Function inherit_method_metadata 

Source
pub(super) fn inherit_method_metadata(
    implementation: &mut ItemImpl,
    declaration: &[TraitItemFn],
) -> Result<()>
Expand description

Inherit only declaration-level R naming/export metadata. The implementation owns its execution options, docs and signatures; an explicit impl rename wins, while a declaration’s skipped method is never exported accidentally.