Skip to main content

receiver_contract_id

Function receiver_contract_id 

Source
fn receiver_contract_id<'hir>(
    gcx: Gcx<'hir>,
    recv: &Expr<'hir>,
) -> Option<ContractId>
Expand description

Resolves the static contract type of recv: a contract-typed expression, a direct contract reference (e.g. a library), or an interface/contract cast.