Skip to main content

inherited_methods

Function inherited_methods 

Source
pub(super) fn inherited_methods(
    implementation: &ItemImpl,
    declaration: &[TraitItemFn],
    generics: &Generics,
    trait_path: &Path,
) -> Result<Vec<ImplItemFn>>
Expand description

Default bodies stay on the trait. These synthetic impl methods are consumed only by wrapper/shim generation, never emitted as Rust overrides.