Skip to main content

dispatched_function

Function dispatched_function 

Source
pub fn dispatched_function(
    gcx: Gcx<'_>,
    contract_id: ContractId,
    callee: &Expr<'_>,
) -> Option<FunctionId>
Expand description

The function an internal call made from within contract_id dispatches to: a virtual call resolves to the most derived override, super.f to the next base implementation, and a qualified Base.f to that declaration exactly. None for external and unresolved callees.