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.