Skip to main content

inheritance_links

Function inheritance_links 

Source
pub fn inheritance_links(
    gcx: Gcx<'_>,
    contract_id: ContractId,
    name_to_page: &NameToPage,
    current_page: &Path,
) -> Option<String>
Expand description

Returns the **Inherits:** markdown string for a contract, or None if it has no bases.

Each base is either a bare name (when no page is known) or a markdown link.