Skip to main content

vtable_sig_with_dyn_self

Function vtable_sig_with_dyn_self 

Source
pub fn vtable_sig_with_dyn_self<'tcx>(
    s: &impl UnderOwnerState<'tcx>,
    method_decl: &AssocFn<'tcx>,
    dyn_self: Ty<'tcx>,
) -> PolyFnSig<'tcx>
Expand description

The signature of method_decl as stored in a vtable, i.e. with its Self type replaced by the given dyn Trait<..> type.