cairo_lang_starknet::contract

Function module_contract

Source
pub fn module_contract(
    db: &dyn SemanticGroup,
    module_id: ModuleId,
) -> Option<ContractDeclaration>
Expand description

Returns the contract declaration of a given module if it is a contract module.